NewDialog events close the existing dialog. So, <Publish Event="DoAction" Value="verifyUserInformation" Order="1"><![CDATA[UNAME = "" or EMAIL = ""]]></Publish> <Publish Event="SpawnDialog" Order="2" Value="AccountVerifiedFailedDlg"><![CDATA[accountVerified<>"TRUE"]]></Pu blish> <Publish Event="NewDialog" Order="3" Value="PassDlg"><![CDATA[accountVerfied = "TRUE"]]></Publish>
Creating a Wix Dialog to display this error seems much cleaner to me. (What would happen if the CA was called from the InstallExecute sequence, or from a silent install?) It should be as simple as setting a "AccountVerifiedError" property to the message that you wish to display in addition to assigning the accountVerified property to FALSE. In your Error dialog, have a single Ok button with a publish for end dialog returning 1. <Publish Event="EndDialog" Value="Return" >1</Publish> I'd use Orca or InstEd to look at the ControlEvent table if you are having event sequencing issues. -----Original Message----- From: AxiomaticImpact [mailto:ke...@legendary-immersion.com] Sent: Friday, November 18, 2011 4:39 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action to verify input -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Act ion-to-verify-input-tp7004942p7010017.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, 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-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, 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-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users