From 6e66481d865706b4259f41275d34063c77fdce4d Mon Sep 17 00:00:00 2001 From: Difegue Date: Thu, 13 Oct 2022 01:09:47 +0200 Subject: [PATCH] copy wsl --status output to the MSI log just in case --- Setup/WslCheckDialog.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Setup/WslCheckDialog.cs b/Setup/WslCheckDialog.cs index a77f0fb..e6b9915 100644 --- a/Setup/WslCheckDialog.cs +++ b/Setup/WslCheckDialog.cs @@ -40,6 +40,8 @@ public partial class WslCheckDialog : WixCLRDialog var output = wsl.StandardOutput.ReadToEnd(); wsl.WaitForExit(1000); + session.Log("WSL --status output: " + output); + if (!output.ToLower().Contains("version")) { obj += "wsl.exe --status returned no information. \n(output was: " + output + ")"; }