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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:51:26+00:00 2026-06-13T21:51:26+00:00

For .NET 3.5 in Wix, I was able to use this [NETFRAMEWORK35INSTALLROOTDIR] to get

  • 0

For .NET 3.5 in Wix, I was able to use this [NETFRAMEWORK35INSTALLROOTDIR] to get the path to the 3.5 root directory, so I could do something like the following…
[NETFRAMEWORK35INSTALLROOTDIR]\aspnet_iapi.dll

I am trying to do something similar in but pointing to the .NET 4.0 directory. I am trying to do wildcard mapping. Here is the WIX Web Application Extension element.

<iis:WebApplicationExtension CheckPath="no"
    Script="yes"
    Executable="[NETFRAMEWORK40INSTALLROOTDIR]aspnet_isapi.dll"
    Verbs="GET,HEAD,POST DELETE PUT"/>

The problem is that in IIS 6 the wildcard path is always simply “aspnet_isapi.dll”, so obviously the framework root variable isn’t working.

Is there something I am doing wrong or is there another way to reliably get the .net 4.0 root directory? If it matters, I am using WIX 3.5.

  • 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-06-13T21:51:27+00:00Added an answer on June 13, 2026 at 9:51 pm

    The answer lies in the documentation for the WixNetFxExtension:

    NETFRAMEWORK40FULLINSTALLROOTDIR

    Set to the installation directory for the .NET Framework 4.0 full
    (%windir%\Microsoft.NET\Framework\v4.0). This property is available
    starting with WiX v3.5.

    NETFRAMEWORK40FULLINSTALLROOTDIR64

    Set to the installation directory for the 64-bit .NET Framework 4.0
    full (%windir%\Microsoft.NET\Framework64\v4.0). This property is
    available starting with WiX v3.5.

    There are also separate properties for the client profile:

    NETFRAMEWORK40CLIENTINSTALLROOTDIR

    NETFRAMEWORK40CLIENTINSTALLROOTDIR64

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

Sidebar

Related Questions

I have a WiX installer that I would like to check for .Net 3.5,
We use Wix to build an installer for our .NET application and are just
Following some example code on the net, I got my first WiX installer to
I've googled around and found some topics like http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm and Launch application after installation
I'm creating a WiX-based installer for my .NET-based website. Part of this website involves
I'm building a patch using PCP, according to this tutorial: http://wix.sourceforge.net/manual-wix3/patch_building.htm I'v two MSI
Update: looks like this is indeed a WiX limitation - Cannot add 64bit com+
I have a WiX installer which installs .Net 4 and SQL as prerequisites. All
.NET we have primitive datatypes like int and value types like struct. And also
net website, I would like to add button by which user can view the

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.