<Condition Message="IIS v6 or IIS v6 Metabase Compatibility Feature for
IIS v7 must be installed'>
  <![CDATA[Installed OR (IISMAJORVERSION="#6" OR (IISMAJORVERSION="#7"
AND IIS_METABASE_COMPAT))]]>
</Condition>

I've never worked with IIS but that's how I'd write my Launch Condition
in this case. That is assuming your RegistrySearch logic is correct for
the IIS_METABASE_COMPAT Property.

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: Yan Sklyarenko [mailto:y...@sitecore.net] 
Sent: 22 March 2010 12:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] installing on windows server 2008 -BUMP-

What about adding 
   OR IISMAJORVERSION="#6"
to your condition?

Because for IIS 6 "IIS 6 compatibility" is automatically 'true'.

-- Yan


-----Original Message-----
From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com]
Sent: Monday, March 22, 2010 12:34
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] installing on windows server 2008 -BUMP-


Bump - does anyone know how to solve this?


 
 
Hi,
 
 
 
I am attempting to build an installer which works on different operating
systems. A problem I am having is to ensure on a windows 7 and win2008
server machine running IIS7, there is IIS6 compatiblity. I used the
following property and condition:
 
 
 
<Property Id="IIS_METABASE_COMPAT">
 
<RegistrySearch Id="CheckIISMetabase" 
 
Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" 
 
Name="ADSICompatibility" 
 
Type="raw" />
 
</Property>
 
 
 
<Condition Message='IIS 6 Metabase Compatibility feature must be
installed'>
 
<![CDATA[Installed OR ((IISMAJORVERSION="#7") And
IIS_METABASE_COMPAT)]]>
 
</Condition>
 
 
 
>From my understanding, the above script would check if IIS7 is there
and IIS6 metabase isnt installed. This works on my windows 2008 box, but
when I attempt to run the installer on a windows 2003 box with IIS6
installed, I find this condition ends up true and I get the message
saying the IIs 6 Metabase Compatibility feature must be installed.
 
 
 
What am I doing wrong?
 
 
 
Thanks                                    
_________________________________________________________________
Got a cool Hotmail story? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/
------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to