tis-adobereader11 11.9-6

  • package : tis-adobereader11
  • version : 11.9-6
  • description : Lecteur PDF Adobe, derniere version supporté par winXP. For more recent PC, use the tis-adobereader package
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2015-12-18 18:42:52
  • signer :
  • signature_date :
  • min_os_version :
  • min_wapt_version :

setup.py

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = ["{AC76BA86-7AD7-1036-7B44-AB0000000001}"]

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

# list of required parameters names (string) which canb 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("Fermeture d Adobe Reader")
    if isrunning("AcroRd32.exe"):
        killalltasks("AcroRd32.exe")
    print("Fermeture de la mise a jour automatique d adobe reader")
    if isrunning("AdobeARM.exe"):
        killalltasks("AdobeARM.exe")

    print('installation Adobe Reader')
    run_notfatal('AdbeRdr11009_fr_FR.exe  /rs /sAll /l /msi /qb /norestart EULA_ACCEPT=YES /qn')

    print("desactivation des mises a jour automatiques")
    if iswin64():
        key=reg_openkey_noredir(HKEY_LOCAL_MACHINE,r'SOFTWARE\Wow6432Node\Adobe\Adobe ARM\1.0\ARM',sam=KEY_WRITE,create_if_missing=True)
        reg_setvalue(key,'icheckReader',0,REG_DWORD)
    else:
        key=reg_openkey_noredir(HKEY_LOCAL_MACHINE,r'SOFTWARE\Adobe\Adobe ARM\1.0\ARM',sam=KEY_WRITE,create_if_missing=True)
        reg_setvalue(key,'icheckReader',0,REG_DWORD)

    key=reg_openkey_noredir(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Adobe\Acrobat Reader\11.0\FeatureLockDown',sam=KEY_WRITE,create_if_missing=True)
    reg_setvalue(key,'bUpdater',0,REG_DWORD)


    

manifest

[
 [
  "AdbeRdr11009_fr_FR.exe", 
  "63600f3fdb0b8fe0abdddb3862af029a853d65cd"
 ], 
 [
  "setup.py", 
  "2238b6e594f0a82f54905e7037416b06cd212f1c"
 ], 
 [
  "WAPT\\control", 
  "49b6127fde6dc6c8fe021ca736ad27e80f6f7419"
 ], 
 [
  "WAPT\\wapt.psproj", 
  "d140401965341ede69880cd6342c5db7040324b2"
 ]
]