Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I reference the MSI output from a WiX Setup project in my wix Bootstrapper project?

Tags:

wix

wix3.7

burn

For example, I want to do this, but it generates an error:

<Chain>
  <MsiPackage SourceFile="$(var.SetupProjectWiX.TargetPath)" />
</Chain>

- where SetupProjectWiX is my MSI WiX project.

I do something similar when creating the MSI itself, and figured the above was possible. Here's the MSI creation referencing a VS project

<File Source="$(var.uCamera.TargetPath)" />

Edit:

I had not added the MSI project as a reference in the bootstrapper project - now it works like a charm :-)

like image 902
noelicus Avatar asked Jul 22 '13 21:07

noelicus


1 Answers

Yes. the same project referencing and variables techniques apply to Bootstrapper projects, too.

like image 77
Tom Blodget Avatar answered Oct 16 '22 20:10

Tom Blodget