Check a verbose log.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: kim [mailto:contactme...@gmail.com] 
Sent: 04 February 2011 19:06
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Getting SQL Server instance name?


Using WIX i would like to know what instance of SQL Server is installed
on target machine. If installed, get the name and set it as one of the
property value to be displayed in my custom dialog. 

I am using the following code to find if SQL Server is installed and
using SQLSERVER property to set the my control's value, but its coming
up as
empty:

<Property Id="SQLSERVER">
   <RegistrySearch Id="SQLServer" Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server" Type="raw"
Name="InstalledInstances"/></Property>
 <Condition Message="Error: This application requires Microsoft SQL
Server
2005/2008 to be installed. Please install Microsoft SQL Server 2005/2008
and run this installer again.">SQLSERVER</Condition>

Custom Dialog:
<Control Type="Text" Id="lblInstanceName" Width="100" Height="14" X="22"
Y="124" Text="Instance Name :" TabSkip="yes" /> <Control Type="Edit"
Id="txtInstanceName" Width="150" Height="15" X="22"
Y="139" Property="SQLSERVER" Text="[SQLSERVER]" />

Can someone please guide me what am I doing wrong here? Thanks!

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting-SQ
L-Server-instance-name-tp5993646p5993646.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
The modern datacenter depends on network connectivity to access
resources and provide services. The best practices for maximizing a
physical server's connectivity to a physical network are well understood
- see how these rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to