I use a custom action that gets fired when they click the next button, if there 
is an error it takes me to my error dialog, the next button on that loops me 
back to this dialog so the newly entered value can get validated again.


      <Control Id="NextDlg" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="Next">
        <Publish Event="DoAction" Value="VerifySQLServer">1</Publish>
        <Publish Event="DoAction" Value="VerifySQLServer.Get">1</Publish>
        <!-- if there is a server error redisplay the database screen else go 
to the verify screen -->
        <Publish Event="NewDialog" 
Value="DialogError"><![CDATA[SERVERERROR~="1"]]></Publish>
        <Publish Event="NewDialog" 
Value="DialogVerify"><![CDATA[SERVERERROR~="0"]]></Publish>
      </Control>

-----Original Message-----
From: Joel Dart [mailto:jd...@dyknow.com] 
Sent: Friday, March 7, 2014 11:02 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Require fields/disable InstallButton in bootstrapper

I am trying to set up a required text field in my bootstrapper application. I 
see and have been able to verify that I can disable controls using the special 
variable...

<Variable Name="ButtonNameState" Type="string" Value="disable"/>

... but I cannot figure out how to set ButtonNameState based on a different 
variable or how to reevaluate such a condition.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to