My guess is that the property name. MYPROPERTY, may be getting
modularized (appended with the merge module ID GUID, e.g.
MYPROPERTY.11111111_2222_3333_4444_555555555555) when it is included in
the main installation. So you might try adding the IgnoreModularization
tag to your merge module's WiX source. However, according to the WiX
documentation, this should be used in vary rare circumstances.
<IgnoreModularization Name="MYPROPERTY" Type="Property"/>
Jim Williams
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andres
Aguiar
Sent: Friday, April 04, 2008 3:29 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using Variables defined in a Wise installer
I have a Wise installer that includes a merge module created by WIX.
I want to set a variable in Wise and use it in the Wix Merge module.
I tried adding a "secure" property in Wise called MYPROPERTY and
referenced it from the merge module with something like
<Registry Id='RegInstallDir' Root='HKLM'
Key='Software\Mycompany\WixExampleProject' Name='InstallDir'
Action='write' Type='multiString' Value='[MYPROPERTY]'>
The key is saved empty.
Any ideas?
Thanks a lot.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
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