[wix-users] Passing a property from bundle to msi to be consumed as a registry multiString value

Jon Armen jarmen at bstglobal.com
Thu Feb 11 10:42:55 PST 2016


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?


More information about the wix-users mailing list