Check out my SQL browser source code for a nice solution for enumerating SQL instances in a C++ CA
(http://madbutcher.dyndns.org/snippets/) Albert ----- Original Message ----- From: "Mike Rerick" <[EMAIL PROTECTED]> To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Sent: Thursday, August 21, 2008 1:37 AM Subject: [WiX-users] RegistrySearch question >I am trying to read a Registry setting to get the installed instances of >SQL > Server. The InstalledInstances entry is a REG_MULTI_SZ data type. There is > a > value entered in this entry but the property INSTALLEDINSTANCES does not > contain a value. I'm using version 3.0.4401. > > > > Any ideas? > > > > > > <Property Id="INSTALLEDINSTANCES"> > > <RegistrySearch Id="InstalledInstancesRegistry" Root="HKLM" > Key='SOFTWARE\Microsoft\Microsoft SQL Server' Name="InstalledInstances" > Type="raw"/> > > </Property> > > > > > > Thanks! > > > > Mike Rerick > > Sr. Software Engineer - Professional Services > > <blocked::http://www.iwsinc.com/> > > > > 9200 S.E. Sunnybrook Blvd., Suite 170 > > Clackamas, OR 97015 > > Phone: (503) 353-8068 Fax: (503) 353-8065 > > > > > > The information contained in this transmission contains potentially > privileged, export controlled and/or confidential information of Imageware > Systems, Inc. or its customers or partners. It is intended only to be > read > by the person(s) named above and for no other purpose. You are hereby > notified that any dissemination, distribution, duplication of this > communication or use of its contents for any purpose not authorized > expressly by Imageware Systems, Inc. is strictly prohibited and could lead > to both civil and/or criminal penalties. If you are not the intended > recipient, you are prohibited to review the contents herein and please > contact the sender by reply e-mail and destroy all copies of the original > message. To reply to our e-mail administrator directly, please send an > e-mail to [EMAIL PROTECTED] > > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------------------------------------------------------------------------- > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users