简体   繁体   中英

Including Wix Setup Project Output in Wix Bundle

I have created a Wix Setup project and a Wix bundle project in the same solution. I included the msi file of the Setup project as the source of a package in the bundle application. (It has a reference to the setup application)

I have found that if I try to build the whole solution at the same time I get an error when trying to install the boostrapper "failed to find payload..."

However, if i build the setup project and then the boostrapper it installs without any problems.

Why is this?? It seems that it's grabbing the past installer before the setup project is finished building the current one.

Add a reference to the .msi project in the bundle project. That's how you tell MSBuild the bundle depends on the .msi.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM