I wrote a custom action that tests service credentials. When credentials
are invalid, it sets a property LOGON_ERROR with the Win32 error. So I
spawn an error dialog with that.
<Dialog Id="InvalidLogonDlg" Width="260" Height="85" Title="Invalid
Logon">
<Control Id="Return" Type="PushButton" X="102" Y="57" Width="56"
Height="17" Default="yes" Cancel="yes" Text="OK">
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30"
Text="[LOGON_ERROR]" />
<Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24"
FixedSize="yes" IconSize="32" Text="WixUI_Ico_Exclam" />
</Dialog>
Then the user enters some other credentials and gets a different value
of LOGON_ERROR. Unfortunately that dialog has already been created and
the value of the text field has been set. So I see the old error.
An Edit field doesn't have this problem, it updates every time.
How can I fix this?
Thx
dB.
-dB.
dblock.org <http://www.dblock.org/> / foodcandy.com
<http://www.foodcandy.com/>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users