Views: 18.4k  |  Created: 11/05/2010

Average Rating: 0
.NET Framework has 1 inventory records, 8 Questions, 2 Blogs and 5 links. Please help add to this by sharing more!

Deployment Tips (3)

Most Common Setup Type
Legacy Setup with command line support
Average Package Difficulty Rating
Rated 2 / 5 (Somewhat Easy) based on 4 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (answer file driven)
or cancel
3
Note

Installing .NET 1.1 on Windows 7 x64

Microsoft did not include the .NET 1.1 Framework in Windows 7.  As a result, any application wanting to use the .NET Framework 1.1 will be unable to do so by default on Windows 7.  Further, when you attempt to run the .NET 1.1 installer on Windows 7, the following error may be generated:

 

 

This error prevents the installer from being silently executed.

 

Fortunately, it is possible to package the .NET Framework in a way that it can be installed silently on Windows 7.

 

Create an Administrative Installation

 

The first step is to create an administrative installer for the .NET Framework.  This is done by downloading the .NET installer and using the command:

Dotnetfx.exe /c:”msiexec.exe /a netfx.msi TARGETDIR=C:\Temp”

 

This will create an MSI installer and a couple of folders in the C:\Temp directory (or whichever directory you specified in the TARGETDIR property above.

 

Next, download the .NET Framework 1.1 SP1 patch.  Save it as “dotnetsp1.exe” and then issue the following command:

Dotnetsp1.exe /Xp:C:\Temp\dotnetsp1.msp

 

This will create an MSP (patch) file in the C:\Temp directory.

 

Next, you’ll need to create an administrative installer with SP1 slipstreamed into it, using the following command:

 

Msiexec.exe /a C:\temp\netfx.msi /p c:\temp\dotnetsp1.msp

 

This will roll the SP1 fixes into the netfx.msi installer.  You can now discard the MSP file if you want to do so.

 

If you launch this newly-updated MSI, you’ll see the same incompatibility warning depicted earlier.  This will prevent silent installation, so you will want to bypass it.  This can be done by starting a setup capture and then launching the installer to trigger the incompatibility warning.  When it comes up, check the “Don’t show this message again” box and click “Run program”.  Complete the setup capture and you’ll find a registry key is created:

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags]  
"{11f1f8ee-7e7f-4f1d-be93-b4d310f0760a}"=dword:00000004

Changing this from “HKEY_CURRENT_USER” to “HKEY_LOCAL_MACHINE” makes it applicable to all users on the system.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags]
"{11f1f8ee-7e7f-4f1d-be93-b4d310f0760a}"=dword:00000004

(Note that changing HKCU to HKLM does not work for all registry keys, but in this case it does.)

Save this modified registry key to a file named “disable-warning.reg” for later use.

Silent Installation of .NET 1.1 SP1

To silently install the software, you now need to perform two commands:

Regedit /s disable-warning.reg
Msiexec /i netfx.msi /quiet /norestart

The first command loads the registry key that disables the compatibility warning.  The second performs the silent installation of the software.

 

Silent Uninstall of .NET 1.1 SP1

Silent uninstall uses the MSIEXEC utility, as it would for any other MSI:

Msiexec /x {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1} /quiet /norestart

Alternatively, you can use:

Msiexec /x netfx.msi /quiet /norestart

Either of these will silently uninstall the software.

 

Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: Average
Platform(s): Windows
  • Is it a good idea to install .NET 1.1 on Windows 7? I know when updates are released for .NET 1.1 on XP, for example, they don't appear to be applicable for Windows 7. Would these updates not install, leaving a vulnerable configuration?
Please log in to comment
This content is currently hidden from public view.
Reason: Member has been banned from the site
For more information, visit our FAQ's.
0
Script

We currently deploy 1.1 with Windows 7 X64 using SCCM . Use command-line (dotnetfx.exe /q:a /c:"install.exe /qb /l") the uninstall string is MsiExec.exe /X{CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1} /qb. 

Setup Information:
Setup Type: Legacy Setup with command line support
Deployment Method Used: Vendor Provided Command Line (answer file driven)
Deployment Difficulty: Very Easy
Platform(s): Windows
Please log in to comment
0
Script

Here is a method to enable .Net 3.5 on Windows 8 with a powershell script. this method is usefull when you deploy windows 8 with SCCM (this script can be used as part of a task sequence)

because this script is explained at Microsoft Technet i will not post the steps. you can download the script at:http://gallery.technet.microsoft.com/scriptcenter/Install-NET-Framework-35-f791c035

This page also explains the usage of the script.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: Average
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

.NET Framework

Version

9.1.30729

Uninstall String

MsiExec.exe /I{23E782F7-46AC-3CBE-8621-ACC7D980BB39}

Questions & Answers (8)

Questions & Answers related to Microsoft .NET Framework

Blogs (2)

Blog posts related to Microsoft .NET Framework

blog

Reviews (0)

Reviews related to Microsoft .NET Framework