-
0 I would like to add a custom dialog to Wix v4. I found a lot of resources on how to achieve that in v3 but none for v4. So far I have:
But MyCustomDialog is not showing. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
MSI UI customization hasn't changed in v4 from v3. So, the same information should be applicable. |
Beta Was this translation helpful? Give feedback.
-
My FOSS project IsWiX has WiX templates for v3 and v4 that include just this. You simply uncomment one line of XML and a custom dialog stubbed out with a header, body, footer and logic for the RememberProperty pattern is automatically inserted. You simply reference the UI element. Note the publish dialog names are dependency on which UI experience you pull in. In this example it's made for WiXUI_FeatureTree. This is the part you need to understand. You need to know the name of the dialog before and after and craft the ControlEvent entries so that you override the existing behavior. https://learn.microsoft.com/en-us/windows/win32/msi/controlevent-table |
Beta Was this translation helpful? Give feedback.
My FOSS project IsWiX has WiX templates for v3 and v4 that include just this. You simply uncomment one line of XML and a custom dialog stubbed out with a header, body, footer and logic for the RememberProperty pattern is automatically inserted.
https://github.com/iswix-llc/iswix-tutorials/blob/master/WiX-v4-HeatWaveBuildTools/desktop-application/Installer/DesktopApplication/UI-CustomDialog.wxs
You simply reference the UI element.
https://github.com/iswix-llc/iswix-tutorials/blob/master/WiX-v4-HeatWaveBuildTools/desktop-application/Installer/DesktopApplication/UI.wxs
Note the publish dialog names are dependency on which UI experience you pull in. In this example it's made for WiXUI_Feature…