Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cDotNetFramework KB Version does not exist for all Windows product versions #76

Open
andy1547 opened this issue Jun 8, 2017 · 1 comment

Comments

@andy1547
Copy link

andy1547 commented Jun 8, 2017

For each Windows Product, after installing DotNet the outcomes are:

  • Windows 7 SP1 / Windows Server 2008 R2 SP1, you will see the Microsoft .NET Framework 4.6.2 as an installed product under Programs and Features in Control Panel.
  • Windows Server 2012 - Hotfix listed KB3151804
  • Windows 8.1 / Windows Server 2012 R2 - Hotfix listed KB3151864

Would this mean that if using Windows 7 SP1 / Windows Server 2008 R2 SP1 the Test Resource would always return false at it simply does a KB check?

It would be great if the resource could take a guess at the KB/installed program based on the product name of Windows it's applying the configuration to, it could possibly switch on this registry key in the test resource.
(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' ProductName).ProductName

Documentation at https://support.microsoft.com/en-gb/help/3151800/the-.net-framework-4.6.2-offline-installer-for-windows

@guitarrapc
Copy link
Owner

As of PowerShell is not fully orthogonal powered language. Switch clause will bring more complexity.
Hmmmm, any idea for Windows Version and .NET Framework dynamic resolver is welome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants