tis-oracle-java8-jre-free

8.0.201-12
Last "free" version provide by Oracle for Java Standard Edition Runtime Environment 8 Update 201
502 downloads
Download

  Description 

  • package : tis-oracle-java8-jre-free
  • version : 8.0.201-12
  • architecture : all
  • categories : System and network
  • maintainer : WAPT Team,Jimmy PELÉ
  • description : Last "free" version provide by Oracle for Java Standard Edition Runtime Environment 8 Update 201
  • locale : all
  • target_os : windows
  • min_os_version : 5.1
  • max_os_version :
  • min_wapt_version : 1.5
  • sources : https://www.java.com/download/
  • installed_size : 687579136
  • impacted_process : java.exe,javaw.exe,javaws.exe
  • description_fr : Dernière version "gratuite" fournie par Oracle pour Java Standard Edition Runtime Environment 8 Update 201
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Oracle
  • licence : BCL
  • signature_date : 2020-05-27T15:34:24.184000
  • Homepage : https://www.oracle.com/java/
  • Conflicts :

  Setup.py 

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

uninstallkey = []

# Please not that this is the last version of Java Runtime Environment (JRE) CPU edition under BCL License (for commercial use and rest)
# More info here : https://blogs.oracle.com/java-platform-group/oracle-java-se-releases-faq
# https://docs.oracle.com/javase/8/docs/technotes/guides/install/windows_installer_options.html
'''
UninstallKey                           Software                                                              Version             Uninstallstring
------------------------------------------------------------------------------------------------------------------------------------------------
{26A24AE4-039D-4CA4-87B4-2F64180201F0} Java 8 Update 201 (64-bit)                                            8.0.2010.9          MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180201F0}
{26A24AE4-039D-4CA4-87B4-2F32180201F0} Java 8 Update 201                                                     8.0.2010.9          MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180201F0}
{4A03706F-666A-4037-7777-5F2748764D10} Java Auto Updater                                                     2.8.201.9
'''

# Declaring specific app values
bin_name_x86 = 'jre-8u201-windows-i586.exe'
bin_name_x64 = 'jre-8u201-windows-x64.exe'
silent_inst_args_string = 'INSTALLCFG="%s" /s'
uninstall_key_x86 = '{26A24AE4-039D-4CA4-87B4-2F32180201F0}'
uninstall_key_x64 = '{26A24AE4-039D-4CA4-87B4-2F64180201F0}'


def install():
    # Declaring specific app values
    java_cfg = makepath(basedir,'java.cfg')

    # Uninstalling Olders / Others Java 8 versions
    check_installed = installed_softwares(name='Java 8')
    #print(check_installed)
    for uninstall_java in check_installed:
        if 'Oracle' in uninstall_java['publisher']:
            if uninstall_java['version'] != '8.0.2010.9':
                print('Removing %s'% uninstall_java['name'])
                cmd = uninstall_cmd(uninstall_java['key'])
                run(cmd)

    # Installing Java
    install_exe_if_needed(bin_name_x86
        ,silentflags=silent_inst_args_string % java_cfg
        ,key=uninstall_key_x86)

    if iswin64():
        install_exe_if_needed(bin_name_x64
            ,silentflags=silent_inst_args_string % java_cfg
            ,key=uninstall_key_x64)

    # Uninstalling Java Updater
    check_installed_updater = installed_softwares(name='Java Auto Updater')
    for uninstall_updater in check_installed_updater:
        print('Removing %s'% uninstall_updater['name'])
        cmd = uninstall_cmd(uninstall_updater['key'])
        run(cmd)

    print("Disabling Automatic Updates")
    if iswin64():
        key=reg_openkey_noredir(HKEY_LOCAL_MACHINE,'SOFTWARE\\Wow6432Node\\JavaSoft\\Java Update\\Policy',sam=KEY_WRITE,create_if_missing=True)
        reg_setvalue(key,'EnableJavaUpdate',0,REG_DWORD)
        key=reg_openkey_noredir(HKEY_LOCAL_MACHINE,'SOFTWARE\\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,'SOFTWARE\\JavaSoft\\Java Update\\Policy',sam=KEY_WRITE,create_if_missing=True)
        reg_setvalue(key,'EnableJavaUpdate',0,REG_DWORD)


def update_package():
    pass


										

  Changelog 


No changelog
  manifest.sha256 
[["WAPT/icon.png","0a52b3abe6be5984135a8f9b65637051520957f7d6b12253a4063c768a07a461"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["jre-8u201-windows-x64.exe","868f35d391ee4e1f6c90b3f32a065aa169a585ba8c702682a6ec03c4b94344c5"],["java.cfg","90ba833c48a916d24c52f6977090ae2ec125fee83de838b8fd2cd7203f0f8420"],["setup.py","7fc13b351c71874ca5d9095268575a029c96cdff3b34c708d3aee9d0e14df2af"],["WAPT/control","a673f7e4952b80456d446b6693c052b941f526aface64c56d981b756ba933a37"],["jre-8u201-windows-i586.exe","950a69967d7df4480043a35f978c0b07bb2f9379ce0438eed668a1e9d0d4c6d9"]]