Replies: 5 comments 2 replies
-
I have a FOSS project called IsWiX that does this. It has project templates that demonstrate bootstrapper UI and MSI Native UI. The Native UI has a custom dialog that gets lit up by uncommenting a single line. Google iswix tutorials or email me for a demo. |
Beta Was this translation helpful? Give feedback.
-
There is two install types in wixtoolset:
Might get better help if you are clear. Seems you have a MSI only and want to use the MSI UI? |
Beta Was this translation helpful? Give feedback.
-
Thanks! The native templates helped me work a couple of things out.
To be perfectly honest I hadn't even worked out that nobody was using regular MSI UIs anymore. Whenever I've seen Burn mentioned it's only as a tool for bundling rather than for UI replacement! I'll definitely look into Burn UIs in the longer run. In the meantime I'd still like to figure the basic MSI UI out if at all possible. What I wasn't able to work out from those linked templates is how to hide/skip an existing dialog, or how to set which dialog is shown first - If I try something like...
Taking the original line and setting condition to 0, in the hopes that it will never be shown - |
Beta Was this translation helpful? Give feedback.
-
@wmanning there is a third type (and fourth actually) of UI. MSI can be launched with a UI handler and it can use an embedded UI handler. InstallScript MSI (which I dislike) is probably the biggest example of this. In this scenario the handler completely takes over the InstallUISequence and is responsible for running all steps. It then transfers control to the InstallExecuteSequence and handles all the progress messages pumpbed back to it. Finally it takes over again for Install Interrupted, Error and Success scenarios. |
Beta Was this translation helpful? Give feedback.
-
@Ananym I wouldn't say that no one is using Native MSI UI anymore. Only 1 dialog gets sequenced in the InstallUISequence. All others are brought into the wizard loop via control events (publish elements). If you aren't already using ORCA it's a must have. Install the Windows Platform SDK and then install the Orca MSI. This is a tool that lets you edit a built database and look at the table data. Then take a look at the Windows Installer SDK documentation specifically https://learn.microsoft.com/en-us/windows/win32/msi/controlevent-table There's a lot of 101 ground to cover hence why I offer free demos. It's a lot easier to learn WiX/MSI if you have at least a minimal context to start with. |
Beta Was this translation helpful? Give feedback.
-
I've been trying at length to put together a very rudimentary UI for my installer in wix v5, but I can't find any resources in this direction and have been failing miserably.
Are there any examples of wix v5 installers with UI adjustments available anywhere?
I've been trying to follow the instructions at https://wixtoolset.org/docs/tools/wixext/wixui/#customizing-a-dialog-set to take wix ui minimal, remove/skip a dialog, and add a custom dialog - but without a bigger picture understanding I'm just not getting anywhere, plagued with errors about not having dialogs available, overriding actions, missing icons and fonts, no matter how I try to juggle it.
Beta Was this translation helpful? Give feedback.
All reactions