Re: [WiX-users] Read ProductID (PIDKEY) from registry

2009-11-05 Thread Wilson, Phil
05, 2009 11:05 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Read ProductID (PIDKEY) from registry It appears to be a property set by MSI in a location with a strange GUID. In brief: I cannot find logic between the application and the place MS

Re: [WiX-users] Read ProductID (PIDKEY) from registry

2009-11-05 Thread Tim Musschoot
ever, I've still not found how to call a dll method, passing parameters :-s -Oorspronkelijk bericht- Van: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] Verzonden: donderdag 5 november 2009 0:53 Aan: General discussion for Windows Installer XML toolset. Onderwerp: Re: [WiX-user

Re: [WiX-users] Read ProductID (PIDKEY) from registry

2009-11-05 Thread Tim Musschoot
erware.com] Verzonden: dinsdag 3 november 2009 23:42 Aan: General discussion for Windows Installer XML toolset. Onderwerp: Re: [WiX-users] Read ProductID (PIDKEY) from registry It might be set in the registry (isn't everything?) but that seems to be an implementation detail. AFAIK the correct way to

Re: [WiX-users] Read ProductID (PIDKEY) from registry

2009-11-04 Thread Sascha Beaumont
Assuming that PIDKEY is just a property you're setting, you'll probably want to set the property to a default value (e.g. DEMO) and do a RegistrySearch to overwrite it if you can find an existing PIDKEY in the registry. Sascha On Wed, Nov 4, 2009 at 6:31 AM, Tim Musschoot wrote:

Re: [WiX-users] Read ProductID (PIDKEY) from registry

2009-11-03 Thread Wilson, Phil
ussion for Windows Installer XML toolset.' Subject: [WiX-users] Read ProductID (PIDKEY) from registry Hello, I've found a way of introducing a product serial in the Installer. This key is set in the registry at the default location (as arranged by MSI). Now I want to read the key of a p

[WiX-users] Read ProductID (PIDKEY) from registry

2009-11-03 Thread Tim Musschoot
Hello, I've found a way of introducing a product serial in the Installer. This key is set in the registry at the default location (as arranged by MSI). Now I want to read the key of a previous installation (at upgrade for example) into the PIDKEY variable of my WIX script (this is not done automat