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 :-)
Yes. the same project referencing and variables techniques apply to Bootstrapper projects, too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With