Hi Richard,
Hi All,
 
It still did not work for me.  Maybe CustomActions using VBScripts are treated 
differently?
 
TIA,
 
Primo


> To: wix-users@lists.sourceforge.net
> From: [EMAIL PROTECTED]
> Date: Thu, 6 Nov 2008 11:22:16 -0700
> Subject: Re: [WiX-users] Evaluation of Conditions
> 
> 
> In article ,
>  writes:
> 
>>> 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='Perform
> Tests'/]
>>> [Binary Id='MyScripts' SourceFile='MyScripts.vbs'/]
> 
> The problem is that your custom action changed a property and Windows
> Installer didn't recognize that the property you changed was used in a
> subsequent control event and was using the old value of the property
> in the control event condition.
> 
> I've worked around this in the past by setting the property to itself
> in a control event after the DoAction control event.
> 
> 
> 1
> 1
> TestPassed = 1
> 
> 
> -- 
> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
> 
> 
> Legalize Adulthood! 
> 
> -------------------------------------------------------------------------
> 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
_________________________________________________________________
See how Windows® connects the people, information, and fun that are part of 
your life
http://clk.atdmt.com/MRT/go/119463819/direct/01/
-------------------------------------------------------------------------
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

Reply via email to