[wix-users] Need to combine two installers -- one is a bundle

Sean Krupa Sean.Krupa at soteradefense.com
Thu Apr 20 14:07:27 PDT 2017


Thanks for taking the time to read my question.  I'm going to apologize in advance -- if my knowledge is incomplete or I use language that doesn't seem quite right it's because I'm a hardware guy who got dragooned into building an installer for a project that's up against a deadline.

Here's what my project entails:
Build an installer that copies a bunch of files and runs a few applications.

So far using Wix tutorials and Nick Ramirez's Wix cookbook I've been able to do the following:

1. Create an installer that successfully copies all the files that I want -- heat.exe makes a components.wxs from a folder of the relevant files and components.wxs gets referenced in my product.wxs.

2. Create a separate installer that successfully runs the applications I want using a bundle (bootstapper, chain, relevant packages).

What I can't seem to figure out is the best way to merge these two into one seamless installer.  I can't add the bundle to my product.wxs directly.  The simplest solutions seams to be adding a bundle.wxs to my solution and then referencing it in the product.wxs as well.  I can't find any examples of how to correctly reference it.

If someone could offer some advice on how to correctly reference the bundle or alternatively if there is a simpler way to add my two installers together, I'd be very interested in hearing it.



Sean Krupa, Ph.D.

Optical Engineer

Sotera Defense Solutions, Inc.

o. 202-767-2193  c. 724-561-8932

e. sean.krupa at soteradefense.com<mailto:sean.krupa at soteradefense.com>

More information about the wix-users mailing list