I was wondering how one would go about checking user input and then writing
it to a text file?

This is what I have so far in my UserSetupDlg (I dont want the Next button
enabled unless the password matches):

<Control Id="PasswordLabel" Type="Text" X="..." Text="Password:" />
<Control Id="PasswordEdit" Type="Edit" Password="yes" X="...
Property="PASSWORD" Text="{8}" />
                                
<Control Id="PasswordConfirmLabel" Type="Text" X="... Text="Confirm
Password:" />
<Control Id="PasswordConfirmEdit" Type="Edit" Password="yes" X="...
Property="CONFIRMPASSWORD" Text="{8}" />

<Control Id="Next" Type="PushButton" X="..." Default="yes" Disabled="yes"
Text="&amp;Next">
        <Condition Action="enable">
                [PASSWORD] = [CONFIRMPASSWORD]
        </Condition>
</Control>

Now my guess is that my syntax is all wrong or I'm going about this the
wrong way. I've been searching through the WiX tutorial and Google all
morning with no luck.

My other question, is when I get this information confirmed, what would be
the best way to write it to a text file?
-- 
View this message in context: 
http://www.nabble.com/Checking-User-Input-and-Writing-it-to-a-File-tf4601376.html#a13137558
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to