tis-dotnetfx4.5 4.5-11

  • package : tis-dotnetfx4.5
  • version : 4.5-11
  • description : dot net FX 4.5 Framework CLient
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-07-20 15:51:13
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-155113
  • min_os_version :
  • min_wapt_version :

setup.py

from setuphelpers import *
import platform

uninstallkey=[]

def install():
    print("installing Dot Net fx 4.5")
    if platform.win32_ver()[1] <> 'XP':
        if not installed_softwares('Microsoft .NET Framework 4.5'):
            run("dotnetfx45_full_x86_x64.exe /q /norestart",accept_returncodes=[0,3010])
            if not installed_softwares('Microsoft .NET Framework 4.5'):
                error('Microsoft .NET Framework 4.5 not found after install')
            print("After install, restarting your computer is recommended.")
        else:
            print('Already there...')
    else:
        print("dotnet fx4.5 is not available for Windows XP")

    

manifest

[["dotnetfx45_full_x86_x64.exe", "b2ff712ca0947040ca0b8e9bd7436a3c3524bb5d"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["setup.py", "cddea45e8409c95050d2c6fba41d9f938e01d2f5"], ["WAPT/control", "b753629ea873675740d8a71e69f2caf3c7435dab"], ["WAPT/wapt.psproj", "d140401965341ede69880cd6342c5db7040324b2"]]