[wix-users] Passing a property from bundle to msi to be consumed as a registry multiString value
John Cooper
JoCooper at jackhenry.com
Thu Feb 11 10:44:18 PST 2016
Only public properties can be passed into an MSI. That means the property MUST be in all uppercase.
--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 |JoCooper at jackhenry.com
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Jon Armen
Sent: Thursday, February 11, 2016 12:43 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Passing a property from bundle to msi to be consumed as a registry multiString value
The e-mail below is from an external source. Please do not open attachments or click links from an unknown or suspicious origin.
I am attempting to pass a property in a bundle to an msi
I've tried both of these msi properties:
<MsiPackage ...>
<MsiProperty Name="Prop1" Value="Test1[~]Test2" /> <MsiProperty Name="Prop2" Value="Test1[\[]~[\]]Test2" /> </MsiPackage>
My msi has a component with:
<RegistryValue Root="HKLM" Key="Software\..." Name="Prop1" Value="[Prop1]" Type="multiString" /> <RegistryValue Root="HKLM" Key="Software\..." Name="Prop1" Value="[Prop2]" Type="multiString" />
After the install runs, Prop1 contains a multiString, however Test1Test2 appears on a single line
Prop2 contains a multiString, however Test1[~]Test2 appears.
Does anyone have insight as to how I could get the expected behavior of Test1 and Test2 on separate lines?
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
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.
More information about the wix-users
mailing list