Muthukkumaran
Muthukkumaran

Reputation: 213

Install more than one MSI files based on user selection in WiX

I would like to create a installer (like BootStarper) to achieve following steps using WiX.

Shall I create a WiX project and display given products(MSI) as its features and can start a deffered custom action to install the seleted ones?

How to author my WiX project to choose the groups and then selected features?

Any help would be greatly appreciated.

Upvotes: 1

Views: 632

Answers (2)

saschabeaumont
saschabeaumont

Reputation: 22446

This is not something you can solve either with the stable WiX release, or Windows Installer.

You will need a separate bootstrapper to launch your MSI files. as the WiX bootstrapper, Burn is only in the WiX 3.6 beta release and not yet properly documented I would suggest trying something like dotNetInstaller.

Upvotes: 1

Christopher Painter
Christopher Painter

Reputation: 55620

Upgrade to WiX 3.6 (Beta) and take a look at the new "Burn" functionality.

You cannot use a deferred custom action to install another MSI because there is a mutex that enforces one running execute sequence per machine.

There is functionality in MSI 4.5 called multi-package transactions however MSI 4.5 may not be already installed on a 2003/XP/Vista Machine so you'd need setup.exe to boostrap it anyways.

Also "concurrent" installs are deprecated and should not be used to do servicing issues.

Upvotes: 2

Related Questions