Network Installation of Dotnet Framework (.net Framework)

This guide will help you do a network deployment of the .network framework package. This includes the more recent versions such as .net framework 4 or 4.5. To do a network install you need an offline standalone installer of the version of DotNet framework you are installing from mircosoft.

Once you have the standalone installer you need to check your computer needs to meet the minimum requires for the version you are installing. Im currently rolling out .net framework 4 and so i below are the requirements for that version.

System Requirements for .Net Framework 4

Supported Operating Systems: Windows 7, Windows 7 Service Pack 1, Windows Server 2003 Service Pack 2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2008 R2 SP1, Windows Vista Service Pack 1, Windows XP Service Pack 3

Once your computers have the prerequisits and you are the happy the install will be success you can continue. You need to put the offline/standalone installer in a location on the server which is accessible during startup. Create a batch file with the following code:


set ProductName="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft .NET Framework 4 Extended"
reg query %ProductName%

if %errorlevel%==1 (goto Deployframework4) else (goto End)


start /wait \\<Servername>\<install share>\dotnetfx40_Full_x86_x64.exe /q:a /c:"install /q /log \\<Servername>\<\Install Logs folder>\%COMPUTERNAME%.log


Code explained

When the .net framework is installed it sets a registry setting for the add remvoe programs area. The code checks to see if this exists, if it does then the setup is not run as its already installed. If there is no registry key it runs the installation. Different versions of .net will have different names so the key will need to be changed. In this scenario its .net framework 4 full install. The start /wait command should make the computer wait for the install to be complete before allowing login. The /q etc makes the install run silently. Tthe /log specifies where to create log files relating to the install (make sure network services has right access to this directory). %computername%.log makes a file with the name of the computer thats installing the software.


Network Deplot Cont........

Once you have the code attached it to a Group Policy Object under > computer configuration > policies > windows settings > scripts > startup. Once the computer has picked up the group policy the next boot the script should run and hopefully "success" it is deployed.



Taglines : Deploy .net framework 4. Deploy dotnet framework 4, network installation of dotnet framework 4, network installation of .net framework 4


Disclaimer: By using any of the software mentioned in this document you are adhering to their terms and conditions of use. I do not accept any responsibility for any loss, damage or disruption to your data or computer system that may occur while using the software mentioned in this document.
Site Map | Privacy Policy | Contact Us
| Best viewed in 1024 * 768 or above | ©2008