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 6011465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:15:50+00:00 2026-05-23T02:15:50+00:00

I have WIX deployment project in VS2010. My application needs MVC 3.0 installed. The

  • 0

I have WIX deployment project in VS2010. My application needs MVC 3.0 installed.
The question is how to create launch condition in installer so that it check whether MVC3 is present on server?

This looks a simple question, but all ways to do this that I know, have problems:

1) Using standard property to check application installation (al shown in http://weblogs.asp.net/jacqueseloff/archive/2009/04/17/detecting-asp-net-mvc-1-0-using-wix.aspx):

<Condition Message='ASP.NET MVC 3.0 is required to proceed with the installation.'>Installed OR ASP_NET_MVC_3_0</Condition>

The problem that it always evaluates to false. Maybe there is no such property “ASP_NET_MVC_3_0”.
More to say it doesn’t even work in example with MVC1.0 checking.

2) Manual RegistrySearch WIX condition.
The problem here is because I haven’t registry node
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\ASP.NET MVC 3
This is the second question: Why is it missed?? I definitely have MVC 3 installed. And Mvc 1.0 and 2.0 before that, but there isn’t any MVC node under ASP.NET branch (only 2.0.50727.0 and 4.0.30319.0 subkeys).

3) FileSearch to find MVC dll.

   <Condition Message='ASP.NET MVC 3.0 is required to proceed with the installation.'>
     Installed OR ASP_NET_MVC_3_0_DLL
   </Condition>

   <Property Id='ASP_NET_MVC_3_0_DLL'>
     <DirectorySearch Id='MVC_DLL_DIR' Path='[ProgramFilesFolder]\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies'>
       <FileSearch Id='MVC_DLL_FILE' Name='System.Web.Mvc.dll' MinVersion='3.0.20105.0'/>
     </DirectorySearch>
   </Property>

But it is not guaranteed that MVC locates in Program files – it could be installed somewhere else.

I think the best answer would be why MVC installation didn’t make registry entry and how to prevent situation on server. But any other solutions to main problem (launch condition) would be helpful.

PS: My OS is Windows 7.

  • 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-23T02:15:51+00:00Added an answer on May 23, 2026 at 2:15 am

    The first option requires the second option (first). The blog entry you linked to is missing that step. You’ll need a RegistrySearch element something like:

    <Property Id="ASP_NET_MVC_1_0">
       <RegistrySearch Root="HKEY_LOCAL_MACHINE" Key="SOFTWARE\Microsoft\ASP.NET\ASP.NET MVC 1.0" Name="InstallPath" Type="raw" />
    </Property>
    

    Then your Property should be populated. If the registry key is missing then you’ll need to follow up with the owner of the package to understand why their registry key isn’t being written.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET application that is installed using a Web Deployment Project. I'd
I have a project where I create WiX (Windows Installer for XML) files, when
I have a WiX installer project that utilises a custom dialog box to ask
I have several large websites that I wish to create a WIX installer for.
I have a WiX project that installs a few EXE files. One is the
I have a WiX installer that I would like to check for .Net 3.5,
I have a WiX installer project where I have added two firewall exceptions as
I have a WiX file that is updated automatically and programmatically. This file needs
I have created a WiX project that installs a bunch of different EXEs and
I am new to WIX and have been tasked with creating an installer that

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.