Jump to content

Recommended Posts

Posted

I have created an application in SCCM to install .net 3 to my Windows 10 1909 machines. I've extracted the cab from the install disk, and used

dism /online /add-package /packagepath:microsoft-windows-netfx3-ondemand-package.cab

to push the install. Event Viewer on the clients say it has installed. However, I have the detection method in the package looking at the registry to show the install, and it's failing - the registry entry isn't there.

 

What's happening?

Posted

It's an optional feature now, no longer a package.

 

I use this powershell script:

if (-Not $PSScriptRoot) { $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent }
Write-Output "Running from: $PSScriptRoot"
Import-Module Dism
Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -Source "$PSScriptRoot" -LimitAccess -All

Posted
I've tried that script, but I still get "The application was not detected after installation completed". I an looking in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5 for the value Install, which isn't present.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...