Hi, I am trying to read the version of GPMC in the Registry which is 1.0.2. I can check whether the GPMC is installed or not. But I want to read the version data from the registry since my tool will run in other operating systems and GPMC are in two different versions. Based on the version of GPMC, I will be installing some files while running the .msi file.
> <Property Id="GPMC"> > <RegistrySearch Id="GPMCSearch" > Root="HKLM" > > Key="SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23}" > Name="Version" Type="raw" > /> > </Property> Bob Arnson-6 wrote: > > Naresh Krishna Kumar K wrote: >> Hi, >> >> I am trying to read the version information from the registry. >> >> <Property Id="GPMC"> >> <RegistrySearch Id="GPMCSearch" >> Root="HKLM" >> >> Key="SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23}" >> Name="Version" Type="raw" >> /> >> </Property> >> > > Does that not work? What value does MSI read from the registry? It's not > clear what problem you're having. > > -- > sig://boB > http://joyofsetup.com/ > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > 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 > > -- View this message in context: http://www.nabble.com/How-to-read-Version-information-from-the-Registry.-tf4116581.html#a11714117 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 2005. 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