How can I add an optional UI to WiX toolset

前端 未结 2 1901
攒了一身酷
攒了一身酷 2021-01-27 18:13

I have already made a quiet installer (without the need to click any buttons but some progress bar is shown while installation is in progress) for a project deployment. This tim

相关标签:
2条回答
  • 2021-01-27 18:33

    Did you try the procedure described in this well known Wix tutorial?

    At its simplest level, this means that you essentially just add this to the Wix source file and you get a default GUI:

    <UIRef Id="WixUI_Minimal" />
    

    You can also try the other "defaults":

    • WixUI_Mondo (normal)
    • WixUI_FeatureTree
    • WixUI_InstallDir
    • WixUI_Advanced

    A search turned up a similar answer, and one talking about extending the default gui.

    0 讨论(0)
  • 2021-01-27 18:35

    Just modify the WixUI_Minimal.wxs file:

    • How to build a minimal WiX installer UI without a license page?
    • WiX toolset WixUI_Minimal Dialog Set
    • Customised UI's for WiX

    Then use properties to condition the dialogs to show or hide as you launch the MSI via msiexec.exe.

    0 讨论(0)
提交回复
热议问题