It did not work again. Maybe hotmail does not like XML tags in the email It stripped all those out again I am going to replace the < with [ and> with ]
> > > Sorry for the multiple posts. > Hotmail is not behaving well for me these days. > It stripped out some text in my original post. > Hopefully all goes well this time. > > > Hi All, > > I attached a VBScript CustomAction to a Control. > > [Control Id='Next' Type='PushButton' ...] > [Publish Event='DoAction' Value='PerformTests']1[/Publish] > [Publish Event='NewDialog' Value='VerifyReadyDlg']TestPassed=1[/Publish] > [/Control] > [CustomAction Id='PerformTests' BinaryKey='MyScripts' > VBScriptCall='PerformTests'/] > [Binary Id='MyScripts' SourceFile='MyScripts.vbs'/] > > > MyScripts.vbs has the following pseudo-code: > > Function PerformTests > Dim testStatus > [perform some complicated tests that set testStatus] > If testStatus = 0 > Session.Property( "TestPassed" ) = "0" > Else > Session.Property( "TestPassed" ) = "1" > End If > End Function > > The property TestPassed gets set correctly by the VBScript call. However, it > seems that the evaluation of the condition in the Next push button has > already happened before the VBScript call. If I click the Next button a > second time, it goes to the VerifyReadyDlg. Any ideas how I can perform the > VBScript test prior to the conditions of the Next button get evaluated? > > Thanks in advance for any replies, > > Primo _________________________________________________________________ Color coding for safety: Windows Live Hotmail alerts you to suspicious email. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users