tis-adobereader 2019.8.20081-7

  • package : tis-adobereader
  • version : 2019.8.20081-7
  • architecture : all
  • locale : all
  • description : Adobe PDF Reader, does not work with XP. Deletion of adobe services and scheduled tasks
  • maintainer : TIS, Simon Fonteneau
  • date : 2018-11-15 12:26:33
  • min_wapt_version : 1.5
  • min_os_version : 6.0
  • max_os_version :
  • impacted_process : AcroRd32.exe

setup.py

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

uninstallkey = []



def install():
    versionpaquet = control['version'].split('-',1)[0]
    versionsoft = versionpaquet[2:]


    # Source    ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/


    print('installation Adobe Reader')
    #silent flag neutre pour eviter que le passage dans "not silentflags"
    install_exe_if_needed(r'package\setup.exe',silentflags=' ',key='{AC76BA86-7AD7-1036-7B44-AC0F074E4100}',min_version=versionsoft,killbefore=['AdobeARM.exe','AcroRd32.exe'],timeout=700)

    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\DC\FeatureLockDown',sam=KEY_WRITE,create_if_missing=True)
    reg_setvalue(key,'bUpdater',0,REG_DWORD)

    #suppression des tache planifer adobe
    if "Adobe Acrobat Update Task" in run('schtasks') :
        run('schtasks /Delete /tn "Adobe Acrobat Update Task" /f')

    #suppression du service AdobeARMservice
    if service_installed('AdobeARMservice'):
        if service_is_running('AdobeARMservice'):
            service_stop('AdobeARMservice')
            time.sleep(5)
        run('sc delete AdobeARMservice')

    # attention l'espace n'est pas un espace u'Acrobat Reader\xa0DC.lnk'
    remove_desktop_shortcut(u'Acrobat Reader DC.lnk')


def session_setup():
   registry_setstring(HKEY_CURRENT_USER, r"SOFTWARE\Adobe\Acrobat Reader\DC\JSPrefs",'bEnableGlobalSecurity',1,type=REG_DWORD)
   registry_setstring(HKEY_CURRENT_USER, r"SOFTWARE\Adobe\Acrobat Reader\DC\JSPrefs",'bEnableJS',0,type=REG_DWORD)
   registry_setstring(HKEY_CURRENT_USER, r"SOFTWARE\Adobe\Acrobat Reader\DC\Originals",'bAllowOpenFile',0,type=REG_DWORD)

    

Changelog

No changelog
    

manifest.sha256

package/Data1.cab 6298cc2ea034167ade1ce2391940575dbb3a002aa902908817f8bb3c26432d89
WAPT/icon.png bd7190e4ccdf4da2084b88af8cfb4d82ffa1085467f47dcad796ae36cdc709ad
WAPT/certificate.crt 13fb474c5c23c135a77aba592eb8821b9ecbcc463f5b7312312b87b20eac6779
WAPT/wapt.psproj df3e2fa87fea9c7bdfcc22039b9ef7303f092898882d9f3f4233f5d92f90b3c7
package/setup.ini 1dbf0d5fdafd555cc6bf3cb6a11f53b77d72f6422df3734a11cb2ec2d3767a95
package/AcroRead.msi 19c22b1b76ab8d3f9cbd53351b47f208875627025a7918f77e1a847b1ead758d
package/setup.exe 7d3208d95f99eac68ca27f26f3eb849a56edff6a2541d44961cacb27be66bba0
package/AcroRead.mst ede592fec140692a345f1db244941fd78233a47c8c54e8767c1a1e0446673e33
setup.py 77b236319975e53de1a27c2db66093de658fd1d5d97da49bfb80bad49622e9e4
package/AcroRdrDCUpd1900820081.msp f6116df29acacd95bfd7e535a491a6b0717eed102b80ddddb02e6db3c10ca97e
package/abcpy.ini 9986830f6e44d24b86936851c2c0cd961ecdddbed3b34e8f6a64693f36e9429d
WAPT/control 058d606774c2949c4b59d69b65126a48b3d97d61d280a756037c95f06fcef676