Hi guys, I have been trying to close an MSI dialog from a custom dialog I created and have not been able to. I read some post here:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-does-Custom-OnExit-do-td5807840.html http://msdn.microsoft.com/en-us/library/aa369543(v=VS.85).aspx http://blogs.technet.com/b/alexshev/archive/2008/10/16/from-msi-to-wix-part-20-user-interface-required-dialog-boxes.aspx The following is my code: <Dialog Id="PreReqDlg" Width="370" Height="270" Title="[ProductName] Setup"> ... <Control Id="Prerequisites" Type="PushButton" X="98" Y="243" Width="70" Height="17" Default="yes" Cancel="yes" Text="!(loc.FatalErrorPrerequisites)"> <Publish Event="DoAction" Value="LaunchPrerequisitesURL" Order="1" >1</Publish> <Publish Event="EndDialog" Value="Exit" Order ="2" >1</Publish> </Control> ... </Dialog> ... <AdminUISequence> <Show Dialog="MyFatalError" OnExit="error" Overridable="yes" /> <Show Dialog="PreReqDlg" OnExit="suspend" Overridable="yes" /> </AdminUISequence> <InstallUISequence> <Show Dialog="MyFatalError" OnExit="error" Overridable="yes" /> <Show Dialog="PreReqDlg" OnExit="suspend" Overridable="yes" /> </InstallUISequence> The problem is that I keep getting routed back to the last screen which is the "Exit Dialog" or in my case the "MyFatalError" dialog. Here I need to click on the finish button to ensure that the MSI dialog is shutdown. Can anyone please help point out what I am missing? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-close-MSI-Dialog-without-clicking-on-FINISH-pushbutton-tp7279763p7279763.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users