Could you not have the PIDKEY set to some pre-existing value, which is empty on the first run?
Rob Levi Wilson wrote: > I have a UserRegistration dialog. The "Next" button publishes the > following: > > <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" > Height="17" Default="yes" Text="&Next"> > <Publish Event="ValidateProductID" Value="0">1</Publish> > <Publish Event="DoAction" > Value="VerifyMe"><![CDATA[ProdIDVerified <> "1"]]></Publish> > <Publish Event="Reset" Value="1">1</Publish> > <Publish Event="SpawnWaitDialog" > Value="WaitForCostingDlg">CostingComplete = 1</Publish> > </Control> > > > "VerifyMe" obviously verifies if the ProductID is good to go. What I > have are two icon controls in my dialog that sort of display the status > of the entered serial. They are defined as so: > > <Control Id="VerifiedOKIcon" Type="Icon" X="205" Y="159" Height="16" > Width="16" Text="StatusOKIcon" Hidden="yes"> > <Condition Action="hide"><![CDATA[ProdIDVerified <> > "1"]]></Condition> > <Condition Action="show">ProdIDVerified = "1"</Condition> > </Control> > <Control Id="VerifiedNOIcon" Type="Icon" X="205" Y="159" > Height="16" Width="16" Text="StatusNOIcon" Hidden="yes"> > <Condition Action="show">ProdIDVerified AND > <![CDATA[ProdIDVerified <> "1"]]></Condition> > <Condition Action="hide">ProdIDVerified = "1"</Condition> > </Control> > > So what happens is when "Next" is pressed, if the serial number was > cool, the "OK" icon is displayed. If it didn't match up, the "NO" icon > is displayed, and the "OK" is hidden. This all works, but the only way > I could get it to happen immediately after "Next" was pressed was to add > the <Publish Event="Reset" Value="0">1</Publish> in order to "Refresh" > the dialog. The problem, as you can imagine, is that this in turn > resets PIDKEY, which is a problem. Is there a way so that after my CA > sets the ProdIDVerified property that the controls would immediately > reflect that to the user? Any help would be greatly appreciated. Thanks! > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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