Skip to content

Commit

Permalink
Wix4: Added error log for failure to find WiX extension. Triggered by #…
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Jul 12, 2024
1 parent 77373c6 commit 2012101
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Source/src/WixSharp/Compiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,13 @@ static string GenerateWixCommand(WixProject project, string wxsFile)

}

if (dllPath.IsEmpty())
{
Compiler.OutputWriteLine($"Error: Cannot find WiX extension '{dll}'. " +
$"WixSharp attempted to install the extension but did not succeed. Please install the " +
$"extension manually with: `wix.exe extension add -g {dll}");
}

return $"-ext \"{dllPath}\"";
});

Expand Down

0 comments on commit 2012101

Please sign in to comment.