I'm trying to pass property values from an MSI to a merge module (MSM). In
the MSM I have the following:
<Configuration Name="my_directory_property" Format="Text"/>
<Substitution Table="Property" Row="MY_DIRECTORY" Column="Value"
Value="[=my_directory_property]"/>
And in the MSI I have:
<ConfigurationData Name="my_directory_property" Value="[MY_DIRECTORY]"/>
When I run the compiled installer, the value of the property in the MSM is
being altered, but it's set to the string [MY_DIRECTORY], i.e. it looks as
though the .ConfigurationData/@Value is not a formatted string. That seems
contrary to the scant few examples (which were WiX2, I'm using WiX3.0) that
I've been able to unearth, assuming that they are correct.
I can work around it by putting removing MY_DIRECTORY from the MSI and
tagging MY_DIRECTORY in the MSM with SuppressModularization="yes" and
swallowing the warning messages. I don't like code that generates warnings,
though.
I was wondering whether anybody can point out what, if anything, I'm doing
wrong.
Regards
Ryszard
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users