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" />


Thx
Pat

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Bush
Sent: 18 February 2008 16:07
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Create New Guid in Installer

Does anyone know of an easy way in WIX to automatically create a GUID on 
install?  I want to create a GUID that represents the user and place it in the 
registry.  Here's an example:

                            <RegistryValue Root="HKCU" Key="Software\<omitted>" 
Name="UserId" Value="<newGuid>" Type="string" Action="write" />


________________________________
About Microsoft Ireland: www.microsoft.com/ireland
Microsoft Ireland Operations Limited. A company incorporated and registered in 
Ireland number 256796.
Microsoft Ireland Research. A company incorporated and registered in Ireland 
number 342235.
Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland
-------------------------------------------------------------------------
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

Reply via email to