installationwixwindows-installerbootstrapper

How can I combine my Setup project and Bootstrapper project in WiX?


I have created an msi installer using the WiX setup project, and I also have a Bootstrapper project where I have all the other pre requisites for the installation of the msi installer. Instead of having two separate projects- one for creating an msi installer and one for bundling all the dependencies together- can I combine all of this in just a single project?

I have two codes currently- bundle.wxs for the bootstrapper, and product.wxs for the installer. I am hopingto have just one wxs file with all the code.


Solution

  • WiX isn't designed to support that. One wxs builds the MSI and then the other builds the EXE that knows and possibly embeds the MSI. Two different layers of the solution.