Search code examples
user-interfacewixwix3

Wix 3, drop exit dialog


Is it possible to skip the finish dialog after installation?

The reason why we want this is because we launch a new installation when the first installation finished, and that works. However, the installation starts after the user presses finish on the "finish" dialog, but it should instead run the new installation without having to press finish for it to start.

The code we use can be found at:

https://gist.github.com/raw/784215/7f7cc7dca73e10fd7d991c3926269719d6b204c6/mycustomui.wxs

In a few steps here is what I want to do:

  • User runs the .msi, a dialog with a combobox with languages is shown
  • User selects languages in the combobox and presses Next button
  • Installer unpacks/installs the "real" msi and then exits, and then uses a custom action to start "the real" install with correct parameters.

Solution

  • The thing which fits best for the scenario you mentioned is called a bootstrapper. There are several choices, you can find this thread interesting. BTW, as far as I know, dotNetInstaller supports the scenario with languages you described out of the box.