I'm having a problem with the wix installer. I want to remove the last dialog window when installing my application. The last dialog only shows the message "installation successful" and the user has to click finish. I want the installation to close automatically after the progress bar reaches 100%.
I tried the approach Changing the UI sequence of a built-in dialog set but i got numerous errors and could not get it to work. I also tried user "joylons" answer here but had no success either.
Is there another way to get this to work? Or can someone help me with the mentioned approach? I am using the WixUI_Minimal scheme:
<UI>
<UIRef Id="WixUI_Minimal"/>
</UI>
EDIT: Based on other answers I tried to use WixUI_Common and alter the sequences.
<UI>
<Property Id="WIXUI_INSTALLDIR" Value="TARGETDIR" />
<Property Id="WixUI_Mode" Value="Custom" />
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="9" Bold="yes" />
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
<DialogRef Id="ProgressDlg" />
<DialogRef Id="ErrorDlg" />
<DialogRef Id="FilesInUse" />
<DialogRef Id="FatalError" />
<DialogRef Id="UserExit" />
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="EndDialog" Value="Return" Order="1"></Publish>
</UI>
<UIRef Id="WixUI_Common" />
<InstallUISequence>
<Show Dialog="WelcomeDlg" Sequence="1"/>
</InstallUISequence>
<AdminUISequence>
<Show Dialog="WelcomeDlg" Sequence="1"/>
</AdminUISequence>
Changes to the InstallUISequence or AdminUISequence do not seem to have any impact. The installer still shows the three dialogs: licence, progress and then the finished dialog. I tried to remove the Publish Dialog="ExitDialog" and get the error: "Exit dialog/action not found in 'InstallUISequence' Sequence Table"
EDIT2: I changed my UI Tag like this (according to Chris Eelmaa's answer):
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<UIRef Id="WixUI_Minimal"/>
<UI>
<InstallUISequence>
<Show Dialog="ExitDialog" OnExit="success">0</Show>
</InstallUISequence>
<AdminUISequence>
<Show Dialog="ExitDialog" OnExit="success">0</Show>
</AdminUISequence>
</UI>
Unfortunatelly the dialog is still shown at the end of the installation process...
EDIT3 (25.03.15) The problem seems to be the bootstrapper I'm using. Without the bootstrapper Chris Eelmaa's solution works. The bootstrapper seems to ignore all of the changes i make in my .wxs file and still displays the ExitDialog. Any suggestions?