I'm assuming that this is a lack of understanding on my part and is more of 
an MSI question than Wix itself.

I have a dialog which requires you to enter the Database Name before you can 
click on Next.  I have a condition on the Next Button that makes sure the 
Database Name is entered.

<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" 
Text="!(loc.WixUINext)">
          <Publish Event="NewDialog" 
Value="[WixUI_DatabaseSetupDlg_Next]">1</Publish>
          <Condition Action="disable"><![CDATA[DATABASENAME = ""]]> OR 
<![CDATA[DATABASESERVERNAME = ""]]></Condition>
          <Condition Action="enable"><![CDATA[DATABASENAME <> ""]]> AND 
<![CDATA[DATABASESERVERNAME <> ""]]></Condition>
        </Control>

This works fine but requires the user to tab out of the field before it is 
enabled.  Since the installer may just type in the box and want to click on 
the Next button it is not enabled.  The property doesn't get set until the 
text field is exited.

Is there any way to update the property with every key press?

Should I handle this in a message from the next saying 'Please enter a 
database'?

Thanks,

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to