tis-rsat-w7

1.0-1
Remote Server Administration Tools (RSAT) for Windows 7
1349 downloads
Download

  Description 

  • package : tis-rsat-w7
  • version : 1.0-1
  • architecture : x86
  • categories : System and network
  • maintainer : WAPT Team,Jimmy PELÉ,Hubert TOUVET
  • description : Remote Server Administration Tools (RSAT) for Windows 7
  • locale : all
  • target_os : windows
  • min_os_version : 6.1
  • max_os_version : 6.1.9999
  • min_wapt_version : 1.5
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr : Outils d'administration à distance (RSAT) pour Windows 7
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Microsoft
  • licence : Freeware
  • signature_date : 2020-02-27T21:41:02.426867
  • Homepage : https://www.microsoft.com/download/details.aspx?id=7887

  Setup.py 

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

# list of required parameters names (string) which can be used during install
required_params = []

# Declaring specific app values (TO CHANGE)
bin_name = 'Windows6.1-KB958830-x86-RefreshPkg.msu'
url_dl = 'https://download.microsoft.com/download/E/D/A/EDA6E3AE-31B9-449D-9E81-4E55F0881707/Windows6.1-KB958830-x86-RefreshPkg.msu'


def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)

    with disable_file_system_redirection(),EnsureWUAUServRunning():
        try:
            run(r'wusa.exe "%s" /quiet /norestart' % bin_name)
        except CalledProcessError,e:
            if e.returncode == 2359302:
                pass

        print('Activation des features')
        print ('AD')
        features = [
            'RemoteServerAdministrationTools',
            'RemoteServerAdministrationTools-Roles',
            'RemoteServerAdministrationTools-Roles-AD',
            ]

        run(r'dism.exe /online /enable-feature %s' % " ".join(['/featurename:%s' % f for f in features]))

        print ('AD-DS')
        features = [
            'RemoteServerAdministrationTools-Roles-AD-DS']
        run(r'dism.exe /online /enable-feature %s' % " ".join(['/featurename:%s' % f for f in features]))

        print ('AD-DS-Snapins')
        features = [
            'RemoteServerAdministrationTools-Roles-AD-DS-SnapIns']
        run(r'dism.exe /online /enable-feature %s' % " ".join(['/featurename:%s' % f for f in features]))

        print ('DNS')
        features = [
            'RemoteServerAdministrationTools-Roles-DNS',
            ]
        run(r'dism.exe /online /enable-feature %s' % " ".join(['/featurename:%s' % f for f in features]))

        print ('GP')
        features = [
            'RemoteServerAdministrationTools-Features',
            'RemoteServerAdministrationTools-Features-GP',
            ]
        run(r'dism.exe /online /enable-feature %s' % " ".join(['/featurename:%s' % f for f in features]))


def uninstall():
    with EnsureWUAUServRunning():
        run('wusa.exe /uninstall /kb:958830  /quiet /norestart')


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

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

    print('Download url is: ' + url_dl)

    # Downloading latest binaries
    if not isfile(bin_name):
        print('Downloading: ' + bin_name)
        wget(url_dl,bin_name,proxies=proxy)
        print('Update package done. You can now build-upload your package')
    else:
        print('This package is already up-to-date')


if __name__ == '__main__':
    update_package()


										

  Changelog 


No changelog
  manifest.sha256 
[["WAPT/icon.png","4a5dca5829cfca39f879e051a117fdb5c41a72bf26bee9b87cd78c45fdb5f141"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["Windows6.1-KB958830-x86-RefreshPkg.msu","fcc36f0686f23bf57b0c719dfc86b06e8d2b501f93a08ed81704d15ab1726b41"],["setup.py","9e031415c5942d2dd59bb217849b55d0004ccf0fe2ad33924ee9e94a915a23a9"],["WAPT/control","519b0a738c2970010e7796b53fa00f47ff161eb2ae1b6329e70ca0f79d023d9d"],["WAPT/wapt.psproj","510d3af6fcf8f2eae5db684bb830ea9845576e76872b9b10854efaea6e4a4cd8"]]