WiX Burn 3.6 beta - custom UI examples

前端 未结 2 1015
野趣味
野趣味 2021-02-13 12:00

Are there any good references/examples for WiX Burn 3.6 custom UI?

I googled around, but they are broken pieces of the information.

2条回答
  •  有刺的猬
    2021-02-13 12:42

    Yes, they are scattered all over. I am using Visual Studio 2010 to maintain my Product.wxs with a separate WXS file for the UI. Basically I've downloaded WiX Edit to design the UI.

    A good start is to download the WiX source which has WXS UI files you can load into WiX Edit to see how they work. You can download the source from here.

    What I did was to copy one of the WixUI files to my project in Visual Studio 2010. When you download the source they can be found under wix36-sources\src\ext\UIExtension\wixlib. In here you will find:

    • WixUI_FeatureTree.wxs
    • WixUI_InstallDir.wxs
    • WixUI_Advanced.wxs
    • WixUI_InstallDir.wxs
    • WixUI_Minimal.wxs
    • WixUI_Mondo.wxs

    You can tell from this the dialog flows. However there are the individual dialog files in here such as:

    • CancelDlg.wxs
    • BrowseDlg.wxs

    You can load these into the Wix Edit to preview the dialog. You should get a better understanding.

    Additionally, the main Wix Page can be found at Wix Toolset.

    I have ordered the Wix book, WiX: A Developer's Guide to Windows Installer XML, from Amazon which I hope will help me understand this more. £30.99 in the UK. Hopefully, this book will be money well spent. There is one review with five stars so fingers crossed.

提交回复
热议问题