Thorsten
Thorsten

Reputation: 1

WIX Setup Bootstrapper: Calling the msi with command line arguments

I use use the Wix Installer to create a setup for my application. I use the Bootstrapper for the Visual Studio 2005 and 2008 runtimes, so I get a setup.exe and a product.msi. Now I try to use the Minor Update mechanism, like described here: How to implement WiX installer upgrade?

For the minor Update I have to rum the Installer with this command:

msiexec /i SampleUpgrade.msi REINSTALL=ALL REINSTALLMODE=vomus

How can I pass the parameter the msiexec if the user calls the setup.exe?

Upvotes: 0

Views: 1324

Answers (1)

Elmar de Koning
Elmar de Koning

Reputation: 519

The bootstrapper should contain the logic that determines what installers are called when. So you'll need to call msiexec yourself from within the bootstrapper.

Upvotes: 1

Related Questions