Share this page : facebooktwitterlinkedinmailfacebooktwitterlinkedinmail

First, read this article to know the whole process of deploying software via GPO: https://frankfu.click/microsoft/group-policy/deploy-adobe-reader-dc.html

 

Requirement

.Net 4.5.1  Standalone Installer: http://download.microsoft.com/download/1/6/7/167F0D79-9317-48AE-AEDB-17120579F8E2/NDP451-KB2858728-x86-x64-AllOS-ENU.exe, or 4.6.2 https://www.microsoft.com/en-us/download/details.aspx?id=53344
InstEd
7-Zip

 

Steps:

1. Extract. First download and install 7-Zip. Then once the .Net 4.5.1 Offline installer .exe has been downloaded, right click on it, 7-Zip > Extract to ‘C:\DotNet\’

2. Extract the right edition for you, we use 32 bit for example, you can change the x86 into x64 if you use 64 bit.

With the extracted contents, run a CMD window and run this command:

msiexec /a "c:\DotNet\netfx_full_ldr_x86.msi" EXTUI=1 TARGETDIR="C:\AIP"

3. Transform the MSI file. ( 4.6.2 does not need this step)

Make sure InstEd is installed, go to ‘C:\AIP’ and right click on ‘NetFx_Full_LDR_x86.msi’ and click ‘InstEd It!’

In the menu of InstEd, click Transform > New Transform save the Transform as ‘DotNet.mst’ then open up the InstallExecuteSequence Table.

Edit “CA_BlockDirectInstall” to equal “False”, then in the Menu ‘File’ > ‘Save’.

4. Copy to a shared folder. After this is done, copy all the contents of the ‘AIP’ folder to your deployment server’s ‘Dot Net’ Folder.

5. Apply the Policy

Once that’s all done and you’ve generated/saved your Transform to the network shared “Dot Net” folder, load up Microsoft’s Group Policy Management console and right click on the Organisational Unit (OU) that you’ve added your network computers to and select “Create a GPO…”

Name the policy “Dot Net 4.5.1” or whatever you would like it to be named, then under: “Computer Configuration – Policies – Software Settings – Software Installation”

Right click in the right hand window, or on the software installation icon and choose “New… – Package”. Find the “Dot Net” folder you put on your server and select the .MSI and choose “Advanced” as the deployment method.(For 4.6.2, just choose assigned)

Once the panel opens up, go to the Modifications tab and select Add. Locate your ‘DotNet.MST’ Transform and click Ok. The package will now be loaded into MS GPO and you can exit out of the window as it is already saved.