Ahmed Fawzy
Ahmed Fawzy

Reputation: 301

Skip parts of the install msi install sequence

I have an msi installer that I made using wix toolset, the installer works fine but I need to be able to use the installer as a an updater also, so in my app I download the latest installer and invoke it, The problem is that the installer normally shows a "license dialog" and an "install directory dialog" I want to skip both dialogs and just supply the installer with the install location as a command line argument so the user only sees the installation progress bar with out going through the whole installation process with every update.

Please advise, and thanks in advance

Upvotes: 0

Views: 399

Answers (2)

Ahmed Fawzy
Ahmed Fawzy

Reputation: 301

So for anyone having the same question, the msi has something called passive mode it only shows a progress bar

msiexec /i "C:\InstallLocation" /passive

Upvotes: 0

scaler
scaler

Reputation: 574

You could change the dialog order implementing a custom UI element where you then schedule your dialogs depending on a property. See https://www.firegiant.com/wix/tutorial/user-interface/new-link-in-the-chain/ for a simple but complete example.

Upvotes: 0

Related Questions