Thanks for that, just what I was looking for.
From: Chad Petersen [mailto:[EMAIL PROTECTED]
Sent: 22 April 2008 16:49
To: Ryan O'Neill; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Question about variables
I believe this web link should be a good reference for the $ operator and
the state value 2
http://msdn2.microsoft.com/en-us/library/aa368012.aspx
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan O'Neill
Sent: Tuesday, April 22, 2008 8:24 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Question about variables
I'm decoding someone else's setup and it has the following custom action
definition;
<CustomAction Id="CA_ActionId" FileKey="MyVbsCa.vbs" VBScriptCall=""
Execute="deferred" />
...
<Component Id="MyVbsCa" Guid="GUID_GOES_HERE">
<File Id="MyVbsCa.vbs" Name="MyVbsCa.vbs" KeyPath="yes" Vital="yes"
Source="MyVbsCa.vbs" />
</Component>
...
<ComponentRef Id="MyVbsCa" />
Plus the following scheduling of that action.
<Custom Action="CA_ActionId" Sequence="5904">(CTL_SetDefault = 1) AND
$MyVbsCa>2</Custom>
>From what I understand, $MyVbsCa is a variable but it is not used anywhere
other than those lines above. I can't see that it gets set, so all I can
think of is that it gets set somewhere as a side effect.
Am I missing something or does the above not work correctly?
Regards
Ryan
-------------------------------------------------------------------------
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