Everything You Need to Build an SCCM Application for Microsoft .NET Framework 4.0, 4.5.2, & 4.6.2

When building an SCCM Application for later versions of .NET Framework, some parameters can be elusive.  This post will give you everything you need – even an icon – so you may easily build SCCM Applications for versions 4.0, 4.5.2, & 4.6.2..

Microsoft .NET Framework 4.0

  • Download Link for Standalone Installer: https://www.microsoft.com/en-us/download/details.aspx?id=17718
  • Name: .NET Framework 4.0
  • Publisher: Microsoft
  • Version: 4.0
  • Deployment Type: Script Installer
  • Content Location: A dedicated folder in the form of a UNC share containing the source file (downloaded from link above) which SCCM has access to
  • Installation Program: dotNetFx40_Full_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT
  • Uninstall Program: %windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Extended\setup.exe /uninstall /x86 /x64 /ia64 /parameterfolder Extended /q /norestart
  • Detection Method: Registry
    • Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    • Value: Install
    • Data Type: Integer
    • Operator: Equals
    • Value: 1
  • Installation behavior: Install for system
  • Logon requirement: Whether or not a user is logged on
  • Installation program visibility: Hidden

Microsoft .NET Framework 4.5.2

  • Download Link for Standalone Installer: https://www.microsoft.com/en-us/download/details.aspx?id=42642
  • Name: .NET Framework 4.5.2
  • Publisher: Microsoft
  • Version: 4.5.2
  • Deployment Type: Script Installer
  • Content Location: A dedicated folder in the form of a UNC share containing the source file (downloaded from link above) which SCCM has access to
  • Installation Program: NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q /norestart /log “C:\NET_452_Install.log”
  • Uninstall Program: NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q /uninstall /log “C:\NET_452_Uninstall.log”
  • Detection Method: Registry
    • Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    • Value: Release
    • Data Type: Integer
    • Operator: Equals
    • Value: 379893
  • Installation behavior: Install for system
  • Logon requirement: Whether or not a user is logged on
  • Installation program visibility: Hidden

Microsoft .NET Framework 4.6.2

  • Download Link for Standalone Installer: https://www.microsoft.com/en-us/download/details.aspx?id=53344
  • Name: .NET Framework 4.6.2
  • Publisher: Microsoft
  • Version: 4.6.2
  • Deployment Type: Script Installer
  • Content Location: A dedicated folder in the form of a UNC share containing the source file (downloaded from link above) which SCCM has access to
  • Installation Program: NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q /norestart /log “C:\NET_462_Install.log”
  • Uninstall Program: NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q /uninstall /norestart /log “C:\NET_462_Uninstall.log”
  • Detection Method: Registry
    • Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    • Value: Release
    • Data Type: Integer
    • Operator: Equals
    • Value: 394806 (394802 if on Windows 10)
  • Installation behavior: Install for system
  • Logon requirement: Whether or not a user is logged on
  • Installation program visibility: Hidden

Installation Behavior / User Experience

If adhering to the settings specified above, all of the .NET versions should install silently for the user and suppress any automatic reboots.  However, if you plan to use in a task sequence or install as a prerequisite for a specific application, I suggest either adding a reboot after installation or building a duplicate Application for each excluding the “/norestart” parameter in the installation strings.  Installation without rebooting can be done, but it will not work as intended until after a reboot occurs.

Detection Methods for Other .NET Framework Versions

Releases of .NET starting with 4.5 all share a similar detection method which you may use when building an SCCM Application.  Although I am not listing all parameters for these versions, below is a reference you may use as a detection method for each.

  • Detection Method Type: Registry
  • Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
  • Value: Release
  • Data Type: Integer
  • Operator: Equals
  • Value: One of the below…
    • For 4.5: 378389
    • For 4.5.1 (on Windows 8.1 or Server 2012 R2): 378675
    • For 4.5.1 (on Windows 8, 7 SP1, or Vista SP2): 378758
    • For 4.5.2: 379893
    • For 4.6: 393297
    • For 4.6 (Windows 10 Only): 393295
    • For 4.6.1: 394271
    • For 4.6.1 (Windows 10 Nov Update Only): 394254
    • For 4.6.2: 394806
    • For 4.6.2 (Windows 10 Anniversary Update Only): 394802

.NET Framework Icon

Below is the icon I use for all .NET versions which I obtained online and slightly modified.  It is a PNG file which is 230 x 219 (below the max 250 x 250 size) and has a transparent background.  Just right click and “Save image as…” on the below image…

That should cover it.  Hope it helps!  Thanks for visiting!

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>