Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4543192
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:29:49+00:00 2026-05-21T15:29:49+00:00

Hey I have an MSI, built with WiX, that attempts to specify a launch

  • 0

Hey I have an MSI, built with WiX, that attempts to specify a launch condition that is satisfied only when IIS is installed. This condition is not working as desired on WS2008 x64. It works on my Windows 7 x64 machine.

The property:

<!-- This is used later in a Launch condition. -->
<!-- see http://learn.iis.net/page.aspx/135/discover-installed-components/ -->
<Property Id="IIS7" Value="#0">
  <RegistrySearch Id="IIS7W3SVC"
                  Type="raw"
                  Root="HKLM"
                  Key="SOFTWARE\Microsoft\InetStp\Components"
                  Name="W3SVC" />
</Property>

The condition:

<Condition Message="Cannot install. You must install IIS before installing this product.">
  NOT IIS56 = "#0" OR NOT IIS7 = "#0"
</Condition>

(there is also a property for IIS6, but that should be irrelevant here).

A user is reporting that he is seeing this “cannot install” message. He also says that IIS is installed and functioning.

Does WS2008 have a different registry key for IIS presence?
What is the preferred mechanism to determine if IIS is present?

This is WIX 3.5. Not sure of the exact WS2008 version.

It might be similar to the issue described here. That question is unresolved.

ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T15:29:50+00:00Added an answer on May 21, 2026 at 3:29 pm

    Why not just use the Wix IIS extensions and IISMAJORVERSION and IISMINORVERSION?

    We use them and I know they work on every version of windows we’ve used from XP to 2008R2

      <!-- Reference WixIIsExtension in project and pull in property by ref -->
      <PropertyRef Id="IISMAJORVERSION"/>
      <Condition Message="Install requires IIS 6 or 7.">
         <![CDATA[Installed OR (IISMAJORVERSION AND (IISMAJORVERSION = "#6" OR IISMAJORVERSION = "#7"))]]>
      </Condition>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey i have this div that shows as a popup: <div class=popup> </div> Then
Hey. I have an object that has a string property called BackgroundColor. This string
Hey I have this code right here: http://pastie.org/534470 And on line 109 I get
Hey I have a really simple question that needs more of just an explanation
Hey I have a view that has a button that when pressed should modally
Hey i have a iframe that i am sizing to its content with the
Hey all- I have looked this up on here and Google but none of
Hey I have this configuration in my web.config <log4net> <appender name=LogFileAppender type=log4net.Appender.FileAppender> <param name=File
Hey I have code that wires up the tabs in the Ready function for
Hey i have a simple ASP.NET application Table with this schema: id | Owner

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.