Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create/Where to get Wix Bootstrapper for Multiple Instances

Tags:

wix

wix3

I'm currently learning how to create msi installers using WiX and it seems I've hit a wall.

All is well when I create an MSI containing everything needed for a single environment.

I have features, and components, and can install my MSI.

Now I'm at the stage where I want to convert this in a SQL Server-style installer, where you have multiple instances support.

At the start I want to user to get a screen which allows him to create a new instance, or manage already existing instances. (to update/remove them)

I've spend 2 full days looking everywhere for a solution, without much luck.

I've found the following resources with some info on it, but either they're limited in the number of instances, or don't describe how to such a bootstrapper which gives a user the option described above.

  • Multiple Instance MSI's and InstallShield 12
  • Multiple Instance Transforms Walkthrough
  • Multiple instance installations and patching

Has anyone achieved this already using WiX? Or can anyone point me towards some working examples on how this is achieved?

I know Installshield 2009 can do this, but since this is just a hobby, I don't have the money to buy that. Also I'd like to do it in WiX, since the upcoming Visual Studio 2010 will improve support for it.

like image 297
David Cumps Avatar asked Jan 31 '09 22:01

David Cumps


1 Answers

Creating multiple instances is pretty easy with WiX v3. You just use the InstanceTransform and Instance elements to create everything. Now, the bootstrapper problem requires something outside of the WiX toolset since we don't have burn, yet. I'm not sure we'll get this functionality in WiX v3.5 (with burn) but it is on our list for burn post v3.5.

like image 156
Rob Mensching Avatar answered Oct 15 '22 12:10

Rob Mensching