简体   繁体   中英

Install IIS 7 and .Net 4.0 on windows 10

I have a software, which requires IIS 7 or above and .Net framework 4.0 or above installed.

I know Windows 10 has IIS 10 and .Net 4.6 built in and I ticked all the components available in Program and Features. But the software still failed to validate the environment.

Is there any way I can install the older version of IIS and/or .Net on Windows 10 PC instead of rebuilding the system with Windows 7?

Thank you.

Finally, I found a solution without modifying the software.

What I did was modifying the computer's registry for IIS and .Net

1.Go to HKEY_LOCAL_MACHINE->SOFTWARE->Microsoft->InetStp

  • Update MajorVersion Data value to 8
  • Update SetupString Data value to IIS 8.5
  • Update VersionString Data value to Version 8.5

2.Go to HKEY_LOCAL_MACHINE->SOFTWARE->Microsoft->NET Framework Setup->NDP->v4

3.Change the Version Data value from all the subfolders from 4.6.00079 to a lower version, for exampple 4.5.51650 for .Net 4.5, do these for all 4 folders, Client, Client->1033, Full and Full->1033

4.Go to HKEY_LOCAL_MACHINE->SOFTWARE->Wow6432Node->Microsoft, repeat step 2 and 3 for all the related folders. (This is for updating the 64bit part of the IIS and .Net, if you are on a 32bit machine, ignore this step)

5.After complete, install the software, you should be fine.

If you don't need to run the web app directly on Windows 10, you can also use a virtual machine (eg older version of Windows running in Hyper-V or VMWare) to run on IIS7.

Hopefully, you can reach out to the vendor soon to update their application to run on IIS7 or higher.

This worked perfectly to allow me to install web farm into IIS. IIS was 10 but each server farm was not loaded when I enabled it from turn on/off windows features.

Go to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> InetStp

and change the following:

  1. Update MajorVersion Data value (a) to 8
  2. Update SetupString Data value (10) to IIS 8.5
  3. Update VersionString Data value (Version 10) to Version 8.5

This allowed me to install web farm from the Web Platform installer without getting the following error:

you need to be on IIS 7.0 or higher...

Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM