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

 
                                          
_________________________________________________________________
Do you have a story that started on Hotmail? 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

Reply via email to