Skip to content

Commit

Permalink
- Added prevention of the WiX5 tools for the Custom BA bootstrapper t…
Browse files Browse the repository at this point in the history
…emplate. Downgrading it to WiX4 tools
  • Loading branch information
oleg-shilo committed Nov 17, 2024
1 parent 5088a59 commit 0a6c6da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ public class Program
{
static void Main()
{
// If you are using WiX5 tools then your Custom BA needs to be built as a separate assembly because as WiX5 uses completely different hosting model.
// See this sample for WiX5 Custom BA https://github.com/oleg-shilo/wixsharp/tree/master/Source/src/WixSharp.Samples/Wix%23%20Samples/Bootstrapper/WiX5-Spike/WixToolset.WixBA
WixTools.SetWixVersion(Environment.CurrentDirectory, "4.0.0");

string productMsi = BuildMsi();

var bootstrapper =
Expand Down

0 comments on commit 0a6c6da

Please sign in to comment.