Can anybody help me figure out what's going on here? The WiX project I have is actually straightforward. Aside from a customized dialog, I also made a small update to the ExitDialog by just moving the checkbox for launching the app on the bottom of the dialog so its gray background will blend in. The thing is, the Finish button now seemed to have lost its ability to close the dialog regardless whether the checkbox is checked or not. Any idea on how this can be resolved?
<UI> <Dialog Id="MyInfoDialog" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes"> <Control Id="ServerNameLabel" Type="Text" X="45" Y="73" Width="100" Height="15" TabSkip="no" Text="Database Server:" /> ... ... ... </Dialog> </UI> <UI Id="MyWixUI"> <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> <Property Id="WixUI_Mode" Value="Mondo" /> <DialogRef Id="ErrorDlg" /> <DialogRef Id="FatalError" /> <DialogRef Id="FilesInUse" /> <DialogRef Id="MsiRMFilesInUse" /> <DialogRef Id="PrepareDlg" /> <DialogRef Id="ProgressDlg" /> <DialogRef Id="ResumeDlg" /> <DialogRef Id="UserExit" /> <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="MyInfoDialog">1</Publish> ... ... ... <!-- If the line below is used, the application launches but the MyExitDialog won't close. Even if the checkbox is unchecked, clicking Finish will still not close the dialog. --> <Publish Dialog="MyExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication" Order="999">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish> <!-- If the line below is used, the MyExitDialog will close but the application won't launch even if the checkbox is checked --> <!-- <Publish Dialog="MyExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> --> </UI> <!--<UIRef Id="WixUI_Minimal_BM" />--> <UIRef Id="WixUI_Common" /> <UIRef Id="WixUI_ErrorProgressText" /> <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch MyApp when setup exits" /> <Property Id="WixShellExecTarget" Value="[#MyApp]" /> <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" /> ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users