Hi there,
I want to use a property, which I set with a CustomAction, in another
CustomAction.
The problem is that I always get the value with which I initialized that
property - which is "0" in my case.
How can I solve this problem - here the interesting part of my wxs:

<Property Id="XMLARGS" Value="0"/>
<Binary Id="BinXMLSettings" SourceFile="CreateConfigFile.exe"/>
<CustomAction Id="SetAppdataProp" Execute="immediate" Property="XMLArgs"
Value="[CommonAppDataFolder]Company\Product\Config\Settings.xml 50 true
-1"/>
<CustomAction Id="ExecuteSomething" BinaryKey="BinXMLSettings"
Execute="commit" ExeCommand="[XMLARGS]"/>

<InstallExecuteSequence>
        <Custom Action="SetAppdataProp" Before="ExecuteSomething">1</Custom>
        <Custom Action="ExecuteSomething"
Before="InstallFinalize">1</Custom>
</InstallExecuteSequence>

Thank's Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to