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® 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® 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