We do this for our merge modules :
In the MSI xml, set up PropertyName with the value you want to pass :
<Merge
Id="MyMergeModule.GUIDHERE_4857_92DF_E3ED_411836DFE2BC" DiskId="1"
Language="0" SourceFile="MyMergeModule.msm">
<ConfigurationData Name="MyName" Value="[PropertyName]" />
</Merge>
In the merge module xml
<Configuration Name="MyName" Format="Text" Type="Property"
DisplayName="MyName" Description="The name"
ContextData="SetupParameters" DefaultValue="Fred" />
You can then use MyName to access the value of PropertyName passed
through from the installer. This is for text. Change Format and Type
to pass e.g. a directory name or a number.
I believe this to be an example of configurable merge modules.
2009/5/28 Shree Krishnamurthi <[email protected]>:
> Hi
>
> I would like to pass a property from my master setup (ie msi ) to one of
> the merge modules.
>
> Is it possible? Can someone explain how this can be done?
>
>
>
> Thanks
>
> Shree
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users