Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 31k  |  Created: 11/05/2010

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

Deployment Tips (4)

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
Windows Installer Command Line (No MST)

Deployment Tip Summary

Msiexec /i netfx.msi /quiet /norestart

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]  

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]

(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? - drose23 10 years ago

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

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
This content is currently hidden from public view.
Reason: Member has been banned from the site For more information, visit our FAQ's.

Installing Microsoft .NET 3.5 during KACE K2000 Imaging processes as a Post Installation Task.

  • find the sxs folder on the Windows DVD and copy that to a temp folder such as C:\ITTEMP\Sources\
  • inside the Sources folder, create a batch file called InstallNET35.bat
  • Inside the command file, create the following lines:

MD C:\ITTEMP\Sources                        - This will create the source folder to copy files from for installation

xcopy *.* C:\ITTEMP\Sources\ /E/Y       - This will copy the entire sxs directory and files to the directory to install from

DISM.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:C:\ITTemp\Sources\sxs   - This will start the installation of .NET 3.5

  • Save the Batch file and zip the batch file and sxs folder into a zip file. 
  • Log in to your K2000 web portal and expend Library>Post-installation Tasks.
  • Create a new Application, name it and attach the zip file.  For the Full Command line, enter the name of the batch file.
  • Save and attach this task to any OS Deployment.

Setup Information:
Setup Type: Legacy Setup with command line support
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: unspecified
Platform(s): Windows

Inventory Records (1)

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


.NET Framework



Uninstall String

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

Questions & Answers (10)

Questions & Answers related to Microsoft .NET Framework


Blogs (3)

Blog posts related to Microsoft .NET Framework


Reviews (0)

Reviews related to Microsoft .NET Framework

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ