How do I do a silent install and uninstall with WiX and MSI?

后端 未结 4 1902
故里飘歌
故里飘歌 2020-12-24 13:28

How can a silent installer be created in WiX that does not display any UI dialogs to the user and installs, upgrades and uninstalls with default settings?

4条回答
  •  失恋的感觉
    2020-12-24 13:52

    Installer .exe's created with WiX can be run from the command line without requiring user input by using one of these command line parameters:

    • /quiet - Displays no UI whatsoever
    • /passive - Displays a UI but requires no user input. Essentially just displays an install progress bar

    This answer is based on WiX 3.9.

提交回复
热议问题