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 MSI puts this parameter.
I need to make a customaction call to the "MsiGetProductInfo" method in "msi.dll", passing some params. However, 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-users] Read ProductID (PIDKEY) from registry 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. <Property Id="PIDKEY" Admin="yes" Secure="yes" Value="DEMO"> <RegistrySearch Id="RegSearch_PIDKEY" Root="HKLM" Key="SOFTWARE\My Company\My App\1.0" Name="SerialNumber" Type="raw" /> </Property> Sascha On Wed, Nov 4, 2009 at 6:31 AM, Tim Musschoot <tim.mussch...@telenet.be> wrote: > 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 automatically). > Can someone tell me how this can be arranged? > > TIA, > Tim > > > ---------------------------------------------------------------------------- -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users