ConfigMgr: .Net 4.6.1 mit KB3102436 verteilen

Anbei das Script für das .Net Framework 4.6.1. Heruntergeladen werden kann der Offline-Installer unter https://www.microsoft.com/en-US/download/details.aspx?id=49982.

<appdefinition>
<file>NDP461-KB3102436-x86-x64-AllOS-ENU.exe</file>
<hash type="SHA256">BEAA901E07347D056EFE04E8961D5546C7518FAB9246892178505A7BA631C301</hash>
<info>
    <company>Microsoft Corporation</company>
    <setupType>NSIS</setupType>
    <isX86>false</isX86>
    <hasUninstall>true</hasUninstall>
</info>
<install>
Show-InstallationProgress -StatusMessage "Installing $appName . This may take some time. Please wait..."
Execute-Process -Path "NDP461-KB3102436-x86-x64-AllOS-ENU.exe" -Parameters "/q /norestart"
</install>
<uninstall>
Show-InstallationProgress -StatusMessage "Uninstalling $appName. This may take some time. Please wait..."
Execute-Process -Path "NDP461-KB3102436-x86-x64-AllOS-ENU.exe" -Parameters "/uninstall /x86 /x64 /q /norestart"
</uninstall>
<detection>
$regPath="HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\*"
Get-ItemProperty $regPath | where {$_.Release -gt 393297}
</detection>
<supersedence>
</supersedence>
</appdefinition>
This entry was posted in automateAppDeployment, Configuration Manager, Deutsch, System Center and tagged . Bookmark the permalink.

Leave a Reply