Search This Blog

Monday, March 24, 2014

DotNet 1.1 installation on Windows 7

This post is just in case should I ever need this again, yes I know it’s very old stuff Smile

To create an administrative installation point for .Net 1.1 with SP1 and hotfix, follow this:


Commands executed:



DotNet.Tmp folder after all files is downloaded and extracted:



  • Create the administrative installation folder with the command c:\DotNet.Tmp\dotnetfx.exe /c:"msiexec.exe /a netfx.msi TARGETDIR=c:\DotNet"
  • Patch the installation folder with SP1 msiexec.exe /a c:\dotnet\netfx.msi /p c:\dotnet.tmp\sp1.msp
  • Patch the installation folder with the hotfix msiexec.exe /a c:\dotnet\netfx.msi /p c:\dotnet.tmp\NDP1.1sp1-KB979906-X86.msp


Installation commands executed


Now install DotNet 1.1 with the command msiexec /i C:\DotNet\netfx.msi /quiet /norestart

If you just start the MSI on Windows 7 you will see this warning:


The warning can be bypassed if you set this value in the registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags]


The installation will also add a RunOnce action, and you might want to remove the entry.




Settings and installation in a vbscript:

Set oShell = CreateObject("WScript.Shell")
oShell.Regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\{11F1F8EE-7E7F-4F1D-BE93-B4D310F0760A}", 4 ,"REG_DWORD"

RunCommand = "cmd /c start /wait msiexec /i netfx.msi /quiet /norestart" RunCommand,0,TRUE

oShell.Regdelete "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce\NetFxUpdate_v1.1.4322"

No comments:

Post a Comment