tis-packsamba4 2

  • package : tis-packsamba4
  • version : 2
  • description : pack outils pour gestion Active directory Samba 4
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-07-20 15:55:57
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-155556
  • min_os_version :
  • min_wapt_version :
  • Depends :

setup.py

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey=[
    '{27B3563C-561C-4924-8C0E-EA102264873F}',
    '{CA3553E0-191B-4E2F-AD3C-82E33CB9D4E4}',
    '{F07F0BCD-5C6D-4499-9F05-6ED747078A72}',
	'fsrmgmt']

# command(s) to launch to remove the application(s)
uninstallstring = []

def install():
    print("installing exe")
    if platform.win32_ver()[0]<>'XP':
        error('Designed for windows XP only')

    try:
        run('windowsxp-mmc30-kb907265-x86.exe /q')
    except subprocess.CalledProcessError,e:
        if e.returncode<>1603:
            raise

    print u"Microsoft Group Policy Management Console"
    msi = "gpmc.msi"
    cmd = "msiexec /i "+ msi+"  /quiet /norestart"
    run(cmd)

    print u"Windows Server 2003 Administration Tools Pack"
    if language<>'fr':
        msi = "WindowsServer2003-KB340178-SP2-x86-ENU.msi"
    else:
        msi = "WindowsServer2003-KB340178-SP2-x86-FRA.msi"
    cmd = "msiexec /i "+ msi+"  /quiet /norestart"
    run(cmd)

    print u"Windows support tools"
    msi = "suptools\\suptools.msi"
    cmd = "msiexec /i "+ msi+"  /quiet /norestart"
    run(cmd)

    print u"Outils d'administration pour la gestion des identités pour UNIX"
    run('idmu.exe /q')

    print u"Outils d'administration pour Gestion de l'impression"
    run('pmcmgmt.exe /q')

    print u"Outils d'administration pour Gestion de serveur de fichiers"
    run('fsrmgmt.exe /q')


    

manifest

[["pmcmgmt.exe", "4cf9504aee9b1086cdef34917485b0807dd436c2"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "8aaab2e1e1cdc916f388cf0216c8b6aea3bf9b29"], ["suptools/sup_srv.cab", "0cf77566da23b6d6b5933f95cd15490029bb7ab6"], ["gpmc.msi", "cb4978d928a48c7b902ee6904d64a188401378fe"], ["fsrmgmt.exe", "cbd1aee0f7b515823609fa8b7377dadc34696dc3"], ["suptools/support.cab", "3ce8a4746d515cde49f015447bfd6e37062ed760"], ["WindowsServer2003-KB340178-SP2-x86-ENU.msi", "f54c9f8116dbdd19bd0c448b568fbfe3fa6938e8"], ["idmu.exe", "1d9e9758b5cfdfcf61f4ffa0d31394482f0bf54b"], ["suptools/suptools.msi", "79b9e913a964dce46231422e61ed9fbd09808954"], ["WindowsServer2003-KB340178-SP2-x86-FRA.msi", "7426553ccfaccfd185f75e23c0165bfa194250dd"], ["setup.py", "12fff5d9cbd25f4c10c71c2b7c8a23906436d8df"], ["suptools/sup_pro.cab", "05983a6ec643757c0a12c7ac72e066c47e9e545c"], ["windowsxp-mmc30-kb907265-x86.exe", "b1e13c1abef0cff4d8929286f65ae9ffaf48a865"], ["WAPT/control", "44ad615956901e2cf553ef372e574c3bd51c4f46"]]