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 :-)
$(var.SetupProjectWiX.TargetPath)
, it fails to build the bootstrapper - no error that I can see in the Output :( When I reference the project using the actual path it's fine. – Swash