tis-java6

6.30-0
Java JRE 6 32 et 64 bits, ferme IE, FF, TB avant install, Désactive mises à jour auto
1341 downloads
Download

  Description 

  • package : tis-java6
  • version : 6.30-0
  • architecture : all
  • categories :
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • description : Java JRE 6 32 et 64 bits, ferme IE, FF, TB avant install, Désactive mises à jour auto
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:33:44.443285

  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 = []

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

version = '6u30'

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    print("installation de Java (JRE)")
    if not installed_softwares('{26A24AE4-039D-4CA4-87B4-2F8321%sFF}'%version.replace('u','0')) or WAPT.options.force:

        print ("closing firefox")
        if isrunning('firefox.exe'):
            killalltasks('firefox.exe')

        print("closing internet explorer")
        if isrunning('iexplore.exe'):
            killalltasks('iexplore.exe')

        print ("closing java updater service")
        if isrunning('jushed.exe'):
            killalltasks('jushed.exe')

        print "Installation JRE 32bits"
        run('jre-%s-windows-i586.exe /s'%version)
    else:
        print "Skipping already installed JRE 32bit"
    uninstallkey.append('{26A24AE4-039D-4CA4-87B4-2F8321%sFF}'%version.replace('u','0'))

    if iswin64():
        print("closing internet explorer")
        if isrunning('iexplore.exe'):
            killalltasks('iexplore.exe')

        if not installed_softwares('{26A24AE4-039D-4CA4-87B4-2F8641%sFF}'%version.replace('u','0')) or WAPT.options.force:
            print "Installation JRE 64bits"
            run('jre-%s-windows-x64.exe /s'%version)
        else:
            print "Skipping already installed JRE 32bit"
        uninstallkey.append('{26A24AE4-039D-4CA4-87B4-2F8641%sFF}'%version.replace('u','0'))

    print("desactivation des mises a jour automatiques")
    if iswin64():
        key=reg_openkey_noredir(HKEY_LOCAL_MACHINE,r'SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy',sam=KEY_WRITE,create_if_missing=True)
        reg_setvalue(key,'EnableJavaUpdate',0,REG_DWORD)
    else:
        key=reg_openkey_noredir(HKEY_LOCAL_MACHINE,r'SOFTWARE\JavaSoft\Java Update\Policy',sam=KEY_WRITE,create_if_missing=True)
        reg_setvalue(key,'EnableJavaUpdate',0,REG_DWORD)
										

  Changelog 


No changelog
  manifest.sha256 
[["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","bc34bb5f85d78dffc7effd37bd0639580a0e140c155973c04d79eb9aa31eb57a"],["jre-6u30-windows-x64.exe","318dc94c5ad6f803f782310012ab39b195cdf60fd786e1d2701df6c5a140f93f"],["jre-6u30-windows-i586.exe","ddbdf55ecc8fe8b7a025df20b8344b746dc325276fd4ac0ee211bf2944e0e673"],["setup.py","425b2ceabc5f521c87049f7d07fc2672dc375a6f8627cc51c4637346150d8107"],["WAPT/control","b8a25ca0d9efd246ba08ebc23e8e789c77f0bb99f1c7f3a35ad786330474ed8e"]]