As for me, the best way to get the major and minor versions of IIS is to
reference the properties introduced by standard IIS extension:
<PropertyRef Id="IISMAJORVERSION" />
<PropertyRef Id="IISMINORVERSION" />

Note, that the values are prefixed with the '#' sign. Thus, for IIS 5.1
(WinXP) it is IISMAJORVERSION="#5" and IISMINORVERSION="#1".

Probably, the presence of MSSQL and its version can be detected by this
registry key:
HKLM\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion, the
value 'CurrentVersion'.

Furthermore, the following article gives more recommendations regarding
editions, etc.
http://support.microsoft.com/kb/321185

Hope this helps.

-- Yan

-----Original Message-----
From: Peter Oehlert [mailto:poehl...@securityinnovation.com] 
Sent: Thursday, January 29, 2009 7:12 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Checking for IIS and SQL?

This isn't strictly wix related but more a general setup question: 

 

Is anyone aware of a robust check to see that SQL Server (2005, express,
std, or ent) and IIS (6, 7 + compatibility components) are installed?

 

Any help would be appreciated.

 

 

Thanks,

Peter

------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to