tis-rsat-x64 1

  • package : tis-rsat-x64
  • version : 1
  • architecture : x64
  • locale :
  • description : package for MS RSAT Remote server admin windows6.1-kb958830-x64 pour Win7 SP1
  • maintainer : Hubert TOUVET
  • date : 2017-07-20 15:56:37
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

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

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

# command(s) to launch to remove the application(s)
uninstallstring = ['wusa.exe /uninstall /kb:958830  /quiet /norestart']

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

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

    print('installing tis-rsat-x64')
    try:
        run(r'wusa.exe "Windows6.1-KB958830-x64-RefreshPkg.msu" /quiet /norestart')
    except CalledProcessError,e:
        if e.returncode == 2359302:
            pass

    print('Activation des features')
    print ('AD')
    features = [
        'RemoteServerAdministrationTools',
        'RemoteServerAdministrationTools-Roles',
        'RemoteServerAdministrationTools-Roles-AD',
        ]
    run(r'c:\windows\sysnative\dism.exe /online /enable-feature %s' % " ".join(['/featurename:%s' % f for f in features]))

    print ('AD-DS')
    features = [
        'RemoteServerAdministrationTools-Roles-AD-DS']
    run(r'c:\windows\sysnative\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'c:\windows\sysnative\dism.exe /online /enable-feature %s' % " ".join(['/featurename:%s' % f for f in features]))

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

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


    

Changelog

No changelog
    

manifest.sha256

setup.py de338967540c9203d91b9de35357947d473f29bfc39ff5441dd9f50a938a4c02
WAPT/certificate.crt 20f25d6b242159077345379865f8e0d84bdc9e4764190f1aa6cb3816bcabd341
WAPT/wapt.psproj bc34bb5f85d78dffc7effd37bd0639580a0e140c155973c04d79eb9aa31eb57a
WAPT/control 0463be2c9c17c162364134f352c9f4dc8756663670993c96829ad7efb451e627
Windows6.1-KB958830-x64-RefreshPkg.msu 1d9f49878fff72d9954ec58cf10b72d8edc3d9126c10b1c4155b7912e2450f3c