[WiX-users] Create New Guid in Installer

2008-02-19 Thread DE�K JAHN, G�bor
On Mon, 18 Feb 2008 08:07:12 -0800, Steve Bush wrote: Steve, > 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. Just write a five-minute custom action in C or your language of cho

Re: [WiX-users] Create New Guid in Installer

2008-02-19 Thread KStuart
Not sure if this will work for you but we've created GUIDs the following way in the past. I'm not sure we have example of what you're doing so maybe it'll work & maybe it won't. -- As the is a preprocessor statement surely it must resolve at compile time, also that guid pattern appears to b

Re: [WiX-users] Create New Guid in Installer

2008-02-19 Thread Simon Topley
I assume you can't use: ---- Or maybe set this as the content of a property then use that property. Seems annoying to have to reinvent the wheel when WIX clearly has the code to do it. The information contained in this e-mail is likely to be confidential and may be

Re: [WiX-users] Create New Guid in Installer

2008-02-19 Thread KStuart
I'm new to wix and msi but it looks like you'll need to use a custom action, you could call into a dll or write a vbscript (it looks like using scripts in custom actions may be frowned upon), anyway you can set a property to a new guid and then reference that, the simplest example would be with a

Re: [WiX-users] Create New Guid in Installer

2008-02-19 Thread Pat Higgins
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

Re: [WiX-users] Create New Guid in Installer

2008-02-18 Thread kstuart
I'm new to wix and msi but it looks like you'll need to use a custom action, you could call into a dll or write a vbscript (it looks like using scripts in custom actions may be frowned upon), anyway you can set a property to a new guid and then reference that, the simplest example would be with

[WiX-users] Create New Guid in Installer

2008-02-18 Thread Steve Bush
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: - This SF.ne