Hi,
I am implementing a textbox control having value fetched from registry
(after LicenseAggrement dialog). When registry has some value, the control
works fine but when delete the text in the textbox, the Next button does
not disable. But when I click on some other button (like back or cancel),
the control works then. Same thing happens when I enter some text in
textbox, Next remains disabled till I click some other button. How can I
make this work correctly in real time?
Code for Next Button is here:

*<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.ButtonText_Next)"><Condition
Action="disable"><![CDATA[SDK_MACHINE = ""]]></Condition><Condition
Action="enable">SDK_MACHINE &lt;&gt; ""</Condition><Publish
Event="NewDialog" Value="VirtualizationDlg">1</Publish></Control>*

and for textbox is:

*<Control Id="MSNameEdit" Type="Edit" X="25" Y="105" Width="220"
Height="18" Property="SDK_MACHINE" />*

SDK_MACHINE property:

<Property Id="SDK_MACHINE"              Secure="yes">
<RegistrySearch Id="sdk_Machine"                      Root="HKCU"
                Key="Software\.....\.....\....."
Name="MachineName"                      Type="raw" />    </Property>


-- 
Thanks and Regards,
Ravi Raj
------------------------------------------------------------------------------
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

Reply via email to