Pass them as public properties to the MSI. From one of my bundles:
<MsiPackage Id="SomeProduct" Compressed="yes"
SourceFile="$(var.SomeProduct.TargetPath)" Vital="yes">
<MsiProperty Name="ACCOUNT_NAME" Value="[AccountName]" />
* * *
</MsiPackage>
--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS 66227
Office: 913-341-3434 x791011
[email protected]
www.jackhenry.com
-----Original Message-----
From: linos [mailto:[email protected]]
Sent: Friday, August 22, 2014 8:29 AM
To: [email protected]
Subject: [WiX-users] How to reference variables within an msi that are set in
bootstrapper app
How can I reference in my MSI a variable that I'm passing in from my
bootstrapper. For example, I have the following text in my bundle.wxs file:
within Bundle
<Variable Name="baVersion" bal:Overridable ="yes" Type ="string" Value
="123456789"/> within MsiPackage <MsiProperty Name ="baVersion" Value
="[baVersion]"/>
In my MSI where ever I have $(var.msiVersion) I would like to use the
Msiproperty variable baVersion from my BA bundle.wxs. Is this possible?
Examples are greatly appreciated.
Thanks InAdvance
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-reference-variables-within-an-msi-that-are-set-in-bootstrapper-app-tp7596474.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are
intended
exclusively for the individual or entity to which it is addressed. The message,
together with any attachment, may contain confidential and/or privileged
information.
Any unauthorized review, use, printing, saving, copying, disclosure or
distribution
is strictly prohibited. If you have received this message in error, please
immediately advise the sender by reply email and delete all copies.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users