What are you trying to do? That WiX snippet you describe below tells Windows Installer to write two separate strings to the same registry value. Do you mean to write a REG_MULTI_SZ? Or append "Bar" to ""? Or are you just confusing the Value attribute and the Name attribute?
For HKCR Foo @= "", "Bar" (REG_MULTI_SZ, @ is the default value) Use <RegistryKey Root="HKCR" Key="Foo"> <RegistryValue Type="multiString"> <MultiStringValue></MultiStringValue> <MultiStringValue>Bar</MultiStringValue> </RegistryValue> </RegistryKey> For HKCR Foo @="" Bar="" Use <RegistryKey Root="HKCR" Key="Foo"> <RegistryValue Type="string" Value=""/> <RegistryValue Name="Bar" Type="string"/> </RegistryKey> Cody On 9/30/08 12:38 AM, "Troy Howard" <[EMAIL PROTECTED]> wrote: I read a message on here a while back where someone had written an XSL to fixup the "primary key is duplicated" errors caused by nested registry value elements like this example: <RegistryKey Root="HKCR" Key="Foo"> <RegistryValue Type="string" Value="" /> <RegistryValue Value="Bar" Type="string" /> </RegistryKey> The XSL would convert these to single line RegistryValue tags. Anyone have an XSL or script that does this fixup? I'm trying not to reinvent the wheel. Thanks, Troy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users