Use RegistrySearch (if you can find the answer via the registry) to set the 
Property and use the Property in the Condition.

-----Original Message-----
From: Dylan Moline (Volt) [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2008 17:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Enforcing different conditions for IIS6 and IIS7

Since IIS7 has officially hosed WiX installations, how can I implement 
different conditions for IIS6 and II7.

I currently have

<Condition Message="This product requires IIS v6.0 or greater to be installed.">
      <![CDATA[(DEVINSTALL = 1) OR Installed OR (IISMAJORVERSION >= "#6")]]>
    </Condition>

But I want something along the lines of

<Condition Message="This product requires IIS6 Metabase to be Installed.">
      <![CDATA[(DEVINSTALL = 1) OR Installed OR (IISMAJORVERSION > "#6") AND 
RegistrySearch id="RegCheckIIS6Metabase" ........ ]]>
    </Condition>

If IIS7 is installed but IIS6 Metabase isn't.


Am I on the correct path of implementing that, or do I need to create separate 
features for IIS6 and IIS7 and implement different sets of conditions dependant 
on which version of IIS is installed.

~Dylan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to