Can I refer to the MSI output from the WiX installation project in the wix Bootstrapper project?

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 I realized that this is possible. Here's the MSI creation linking to the VS project

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

Edit:

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

+4
source share
1 answer

Yes. the same project and variable references also apply to Bootstrapper projects.

+9
source

Source: https://habr.com/ru/post/1492798/


All Articles