Maybe I'm missing something but I get nervous checking the registry to find out something about a sql server instance. Perhaps the server isn't even on the machine I'm installing to. I've been known to put connection dialogs in an installer just to validate a connection and write settings out to an app.config.
So I do an executescalar query to check the Edition server property and see if it contains the text "64-bit" http://msdn.microsoft.com/en-us/library/ms174396.aspx Maybe I'm missing something though. ---------------------------------------- From: "Graf Jeremy AVL/GRZ" <jeremy.g...@avl.com> Sent: Friday, September 16, 2011 1:16 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to detect a x64 SQL Server with a x32 wix setup Hi, in my setup I try to find an installed SQL Server instance and write a connection file with a custom action. This is working fine with an x32 SQL server, but it doesn't find a x64 version. I tried to debug this and the path for the registry entry is right, but it seems that he cannot read the information of this path. Thanks for your help BR Jeremy ____________________________________________________________________________ _____________ AVL List GmbH, Firmensitz: Graz, Firmenbuchnummer: FN 53507M, Landesgericht fuer ZRS Graz ---------------------------------------------------------------------------- -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users