I knew I saw that somewhere.  Check out the WiX 3.0 sources for
IIsExtension.wxs.  If you use WiX 3.0 these registry searches are already
defined for you (and also how to use them in a condition).  If not, here
they are:

    <Fragment>
        <Property Id="IISMAJORVERSION">
            <RegistrySearch Id="IIsMajorVersionSearch" Root="HKLM"
Key="SOFTWARE\Microsoft\InetStp" Name="MajorVersion" Type="raw" />
        </Property>

        <Property Id="IISMINORVERSION">
            <RegistrySearch Id="IIsMinorVersionSearch" Root="HKLM"
Key="SOFTWARE\Microsoft\InetStp" Name="MinorVersion" Type="raw" />
        </Property>
    </Fragment>

Derek

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Osmond
Sent: Monday, August 21, 2006 5:41 PM
To: Petrut Andrei; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Need Help

Where did you look in the Windows Registry?  My understanding is you
should be able to go to 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp in the registry.  There is
then a MajorVersion and MinorVersion value you can use to check which
version is installed

Michael

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Petrut
Andrei
Sent: Tuesday, 22 August 2006 9:47 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Need Help

 Hi. Please help me with something: I need to detect whether IIS is
installed on the computer or not. I tried looking in the windows
registry , but it didn't work. Do you have any ideas?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to