Your comment got stripped for me, had to look online.  Anyhow, why can't
you add another?

<CustomAction Id="verifyAccountInformation" BinaryKey="installerDLL"
DllEntry="VerifyAccountInformation" Execute="immediate"
Return="check"></CustomAction>
    <UI>
      <Dialog Id="PassDlg" Width="370" Height="270" Title="Program
Alpha">
        <Control Id="Next" Type="PushButton" Disabled="no" X="236"
Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)">
        </Dialog>
            <!-- ALWAYS call the Validation CA -->
          <Publish Dialog="PassDlg" Control="Next" Event="DoAction"
Value="verifyAccountInformation" Order="1"/>
            <!-- Conditionally create an error dialog and display the
message (assign the property of the message via your CA or more Publish
property conditionals)  They key here is SpawnDialog instead of
NewDialog-->
            <Publish Dialog="PassDlg" Control="Next" Event="SpawnDialog"
Value="YourErrorDialog"
Order="2"><![CDATA[AccountVerified<>1]]></Publish>
                <!-- Conditionally continue on to the next dialog -->
            <Publish Dialog="PassDlg" Control="Next" Event="NewDialog"
Value="SomeOtherDlg" Order="3">AccountVerified=1</Publish>
    </UI>

Jacob
-----Original Message-----
From: AxiomaticImpact [mailto:ke...@legendary-immersion.com] 
Sent: Friday, November 18, 2011 3:05 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-tp7004942p7009698.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

Reply via email to