Search code examples
installationwixwindows-installerwix3.7

WIx Installer: is there any way to auto close installer shield after successful installation


I want to auto close installer window on successful installation without pressing final close button. Using wix installer can we able to achieve it.


Solution

  • Installation Result: This dialog is generally there to show whether the installation completed successfully or not - hence it is not a good idea to remove it. In fact there are usually several such exit dialogs: FatalError, UserExit and ExitDialog - depending on how the setup ended. Use Orca and go to: Tools => Dialog Preview to see what the dialogs look like.

    Customize GUI: You can, however, remove the dialog from the sequence by customizing the standard WiX dialog set to be as you want it yourself. You can also remove all dialogs from an MSI, but not adding a default dialog set, but that is not recommended.