tis-dotnetfx3.5

3.5.30729.1-21
.NET Framework (pronounced as "dot net") is a software framework developed by Microsoft that runs primarily on Microsoft Windows
4476 downloads
Download

  Description 

  • package : tis-dotnetfx3.5
  • version : 3.5.30729.1-21
  • architecture : all
  • categories : System and network
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • description : .NET Framework (pronounced as "dot net") is a software framework developed by Microsoft that runs primarily on Microsoft Windows
  • locale :
  • target_os : windows
  • min_os_version : 6.1
  • max_os_version :
  • min_wapt_version : 1.7
  • sources : https://dotnet.microsoft.com/download/dotnet-framework
  • installed_size :
  • impacted_process :
  • description_fr : Le .NET Framework est un cadriciel (framework) pouvant être utilisé par un système d'exploitation Microsoft Windows
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Microsoft
  • licence : Proprietary
  • signature_date : 2020-07-06T16:33:45.205000
  • Homepage : https://dotnet.microsoft.com/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform

uninstallkey = []
uninstallstring= []

bin_name = 'dotnetfx35.exe'


def install():
    dotnet35 = [ s for s in installed_softwares(uninstallkey = '{CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}') if Version(s['version']) >= Version('3.5.30729')]

    if windows_version() >= '10.0.17762':
        with EnsureWUAUServRunning():
            with disable_file_system_redirection():
                run(r'dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /Source:".\" /All /LimitAccess')

    #on windows 2008R2, dotnetfx3.5 is installed as a "feature" and cannot be installed with a separate download file.
    elif windows_version() >= Version('6.1',2) and windows_version() < '10.0.17762':
        # direct call gives a segmentation fault... so using cmd.exe indirect
        with EnsureWUAUServRunning():
            with disable_file_system_redirection():
                run(r'dism.exe /online /enable-feature /featurename:NetFx3')
    elif not dotnet35:
        print(run('dotnetfx35.exe /q /norestart'))
        uninstallkey.append('{CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}')
        print("After install, restart your computer is recommended.")
    else:
        uninstallkey.append('{CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}')


def uninstall():
    #on windows 2008R2, dotnetfx3.5 is installed as a "feature" and cannot be installed with a separate download file.
    if windows_version() >= Version('6.1',2):
        # direct call gives a segmentation fault... so using cmd.exe indirect
        with EnsureWUAUServRunning():
            with disable_file_system_redirection():
                run(r'dism.exe /online /disable-feature /featurename:NetFx3')
    else:
        for key in [
            '{0BD83598-C2EF-3343-847B-7D2E84599128}', # Microsoft .NET Framework 3.0 Service Pack 2 Language Pack - FRA
            '{A3051CD0-2F64-3813-A88D-B8DCCDE8F8C7}', # Microsoft .NET Framework 3.0 Service Pack 2
            '{72AD53CC-CCC0-3757-8480-9EE176866A7C}', # Microsoft .NET Framework 2.0 Service Pack 2 Language Pack - FRA
            '{3E31821C-7917-367E-938E-E65FC413EA31}', # Microsoft .NET Framework 3.5 Language Pack SP1 - fra
            '{C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F}']: # Microsoft .NET Framework 2.0 Service Pack 2
                run_notfatal('msiexec /qn /X%s'%key)


def update_package():
    print('Download/Update package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system()=='Windows' and isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    #https://dotnet.microsoft.com/download/dotnet-framework

    url_dl = ('https://download.microsoft.com/download/2/0/E/20E90413-712F-438C-988E-FDAA79A8AC3D/dotnetfx35.exe')
    print('Download url is: ' + url_dl)

    if not isfile(bin_name):
        print('Downloading ' + bin_name)
        wget(url_dl,bin_name,proxies=proxy)

    # Getting version from file
    version = get_file_properties(bin_name)['ProductVersion']

    # Changing version of the package
    control.version = '%s-%s'%(version,int(control.version.split('-')[-1])+1)
    control.save_control_to_wapt()
    print('Changing version to: %s in WAPT\\control' % control.version)





										
  manifest.sha256 
[["WAPT/icon.png","bbae5b815f1b40523fb66ba82c7a0c286270f610a60c278b33da9f158a8e4ef8"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["dotnetfx35.exe","0582515bde321e072f8673e829e175ed2e7a53e803127c50253af76528e66bc1"],["Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~x86~en-US~.cab","4bd2e48b0a23cedceebf17c301382ca60b0db7c78d666c981bf3fd40f83e47f9"],["microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab","aeed3e34d6a4308f5d37a16f7fc72630f6e84c6ebdf5fcfaa15e211cdeff2d53"],["Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~.cab","a5ddd724575ae17801f3ed3d06283d180b958fd7dbf6c478b79972229d27c9e0"],["microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~x86~~.cab","e5e20c9e2040a2cb1b5ac7e8c3c0a0a85ee48cd292e1b2bd1f078f68794b4cc5"],["WAPT/control","30e6734d225338e9c6534537e2ca9625009ab6ee8f691e824dfa9eda6f4e811f"],["Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~fr-FR~.cab","7d887e88448a92aca9add8784431146799ce260229e2a8128d65e5beb2a6a8d2"],["setup.py","b7c185da27d49b9bc7c2638bc21b81ba0a3596fe42a91bb5b1539d196b98367f"],["Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~x86~fr-FR~.cab","2b01f4a0d24aa14f1c1c61a2f17b3678edf3368138e83eb2fdeb051658ccb23c"]]