tis-dotnetfx4.6 4.6.2-8

  • package : tis-dotnetfx4.6
  • version : 4.6.2-8
  • architecture : all
  • locale :
  • description : dot net FX 4.6.2 Framework CLient. replace 4/4.5/4.5.1/4.5.2/4.6/4.6.1
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2018-02-27 18:58:49
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

from setuphelpers import *
import platform

uninstallkey=[]

def install():
    if windows_version() >= WindowsVersions.Windows10:
        dot_net_release = 394802
    else:
        dot_net_release = 394806
    actual_release = registry_readstring(HKEY_LOCAL_MACHINE,'SOFTWARE/Microsoft/NET Framework Setup/NDP/v4/Full','Release')
    if not actual_release: actual_release = 0
    print("installing Dot Net fx 4.6.2 - Release %s" % dot_net_release)
    if platform.win32_ver()[1] <> 'XP':
        if actual_release < dot_net_release:
            run("NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q /norestart",accept_returncodes=[0,3010])
            installed_release = registry_readstring(HKEY_LOCAL_MACHINE,'SOFTWARE/Microsoft/NET Framework Setup/NDP/v4/Full','Release')
            if  installed_release < dot_net_release:
                error('Microsoft .NET Framework 4.6.2 not found after install')
            print("After install, restarting your computer is recommended.")
        else:
            print('Already there or superior - Installed release is : %s' % actual_release)
    else:
        print("dotnet fx4.6.2 is not available for Windows XP")

    ## Documentation :
    ## DotNet product version numbering : https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

    

Changelog

No changelog
    

manifest.sha256

WAPT/icon.png 1aff4a5391de6672932b2ebc601de11c28e04c1ccd71173f2d9bbb525493a58d
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj 795d36d10109ca85357285f79090fac2be856e5830ea31fa913cc55cb825807b
NDP462-KB3151800-x86-x64-AllOS-ENU.exe 28886593e3b32f018241a4c0b745e564526dbb3295cb2635944e3a393f4278d4
setup.py b291e3a61dccbcce4aa5a03ff6e3756df29e8eb71bf2504f0ed611020923ea31
WAPT/control 14a9eedaad8e8ed998d23f19367365614e737efb638d98d8b62176017b7f15e0