Not sure if this will work for you but we've created GUIDs the following way in the past. <?define SkuPackageCode = "{????????-????-????-????-????????????}"?>
I'm not sure we have example of what you're doing so maybe it'll work & maybe it won't. <RegistryValue Root="HKCU" Key="Software\<omitted>" Name="UserId" Value="{????????-????-????-????-????????????}" Type="string" Action="write" /> -- As the <?define ...?> is a preprocessor statement surely it must resolve at compile time, also that guid pattern appears to be a WiX convenience compile time feature so I would think it would be replaced with an actual guid during compilation or linking, it would need to be a Windows Installer feature to generate the guid at install time, therefore every user that installed the package would get the same guid. -- View this message in context: http://www.nabble.com/Create-New-Guid-in-Installer-tp15548559p15577017.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users