How can a silent installer that does not display any UI Dialogs to the user and installs, upgrades and uninstalls with default settings be created in Wix?
A:
MSI uses the following command line ags to be silent
msiexec /i foo.msi /qn <- silent install or silent major upgrade msiexec /i foo.msi REINSTALL=ALL REINSTALLMODE=vomus /qn <- silent minor upgrade msiexec /x foo.msi /qn <- silent uninstall
Christopher Painter
2010-05-24 19:28:51
A:
Just don't include any UI/UIRef elements and then no UI will be included :)
sascha
2010-05-24 22:58:43
A:
All MSI installers whether created by WiX or not can be controlled via command line arguments. So you can make an installer with UI and still install it silently, there is no need to remove the UI from the installer just suppress it on the command line. Remember, make sure you add the upgrade element in your first installer so subsequent ones will match
Charles Gargent
2010-05-25 07:19:08