This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userspace:java-ng [2014/02/25 13:00] Kevin W. |
userspace:java-ng [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Java-NG ====== | + | ====== Java 8 (EOL) ====== |
**Feel free to contact me :)** | **Feel free to contact me :)** | ||
- | Tested with opsi 4.0.3.1\\ | + | Tested with Debian 9\\ |
- | requiredWinstVersion >= 4.10.8.3\\ | + | Tested with Opsi 4.0.7.45\\ |
- | Tested with Windows | + | Tested with Winst 4.11.6.12\\ |
- | Tested with Java 6u24 - 7u51\\ | + | Tested with Server 2016 x64\\ |
- | By [[Kevin.Weis@faw.de|Kevin Weis]] 2014-01-17\\ | + | Tested with 10 Enterprise x64\\ |
+ | Tested with 8.1 Pro x64\\ | ||
+ | Tested with 7 Pro x64\\ | ||
+ | Tested with 7 Pro x86\\ | ||
+ | requiredWinstVersion >= 4.11.5\\ | ||
- | Download: [[https:// | + | **This package will not receive any updates** |
- | **First read: [[# | + | |
- | < | + | Download: [[https:// |
- | Tree: | + | Checksum' |
- | |-- UnlimitedJCEPolicy | + | |
- | | |-- local_policy.jar | + | |
- | | `-- US_export_policy.jar | + | |
- | |-- autoit3.exe | + | |
- | |-- check_uninstall.ins | + | |
- | |-- delsub.ins | + | |
- | |-- java.png | + | |
- | |-- javaFullSize.png | + | |
- | |-- setup.ins | + | |
- | `-- uninstall.ins | + | |
- | </code> | + | |
- | ==== What is does, and what not ==== | + | Source Code: [[https:// |
- | It Does: | + | Check if you have the JCE installed: [[https://compilenix.org/public/opsi/jceCheck.jar | jceCheck.jar]] [[https://compilenix.org/public/opsi/ |
- | - Uninstall all versions of Java from 1.6.0.10 until 1.7.0.51 | + | |
- | | + | |
- | - Add the JCE Patch to every Java installation; | + | |
- | It Does Not: | + | All downloads are pgp signed with:\\ |
- | - Uninstall Java versions older then 1.6.0.10, because in update 10 was a new installer dropped which uses an other schema of GUID´s at the Windows Registry. | + | Compilenix < |
+ | Validity: from 2015-01-09 11:29 until forever or revoked\\ | ||
+ | Certificate type: 4,096-bit RSA\\ | ||
+ | Key-ID: E763633D\\ | ||
+ | Fingerprint: | ||
+ | https:// | ||
+ | Download: my [[https:// | ||
+ | Download: my [[https:// | ||
- | ==== TODO ==== | + | ===== What it does, and what not ===== |
- | - Use the check_msi-exitcode script from " | + | It Does: |
- | - May add support for removing older versions | + | - Handle install: x64 and x86, JRE and JDK |
- | - Automate get the last entry of " | + | - Handle uninstall: x64 and x86, JRE of Java 1.6.0.10 |
- | - Add support for installing and uninstalling | + | - Installation |
- | - Add support for installing, using "exe" | + | - Add the JCE Patch to every Java installation; |
- | | + | - Use the check_msi-exitcode script from "Der-Matze": [[userspace: |
- | ==== Important to know ==== | + | It Does NOT: |
- | You find the MSI-Installer files by download the jre u want to install and start and wait until the installer has started, now abort the installer. The MSI files should now be located | + | - Uninstall Java versions older then 1.6.0.10, because in update 10 was a new installer |
- | < | + | - Uninstall |
- | %USERPROFILE%\AppData\LocalLow\Sun\Java | + | - Un-/Install Java 9 |
- | </ | + | |
- | This Package expect the installation files NOT at the ScriptPath! They should, for example, be located at:\\ | + | |
- | <code winst> | + | |
- | %ScriptDrive%\Setup_data\java\msi\jre1.7.0_51\jre1.7.0_51.msi | + | |
- | %ScriptDrive%\Setup_data\java\msi\jre1.7.0_51_x64\jre1.7.0_51.msi | + | |
- | </code> | + | |
- | If it fails to find the resources, check your Samba Configuration and move the Setup_data directory or edit the winst script **" | + | |
- | Note: The variables " | + | |
- | ===== check_uninstall.ins | + | ===== Notes ===== |
- | <code winst check_uninstall.ins> | + | The package includes the MSI installer |
- | for $x$ in $version6$ do sub_uninstall_6 | + | |
- | for $x$ in $version7$ do sub_uninstall_7 | + | |
- | [sub_uninstall_6] | + | It "crashes" |
- | Message | + | But on a x64 System the Java installer want to extract the MSI package into the same directory. At this point Windows |
- | if (($INST_SystemType$ = "x86 System" | + | |
- | if (" | + | |
- | Set $msi_suffix$ = "FF" | + | |
- | else | + | |
- | Set $msi_suffix$ = " | + | |
- | endif | + | |
- | + | ||
- | Set $DisplayName$ = GetRegistryStringValue (" | + | |
- | if not ($DisplayName$ = "" | + | |
- | Message " | + | |
- | Set $MSI$ = " | + | |
- | sub " | + | |
- | endif | + | |
- | endif | + | |
- | if ($INST_SystemType$ = "64 Bit System" | + | There is no error-reporting |
- | if (" | + | |
- | Set $msi_suffix$ = " | + | |
- | else | + | |
- | Set $msi_suffix$ = " | + | |
- | endif | + | |
- | + | ||
- | Set $DisplayName$ = GetRegistryStringValue32 (" | + | |
- | if not ($DisplayName$ = "" | + | |
- | Message " | + | |
- | Set $MSI$ = " | + | |
- | sub " | + | |
- | endif | + | |
- | + | ||
- | if (" | + | |
- | Set $msi_suffix$ = " | + | |
- | else | + | |
- | Set $msi_suffix$ = " | + | |
- | endif | + | |
- | + | ||
- | Message "Suche Java 6.0.$x$ x64" | + | |
- | Set $DisplayName$ = GetRegistryStringValue64 (" | + | |
- | if not ($DisplayName$ = "" | + | |
- | Message " | + | |
- | set $MSI$ = " | + | |
- | sub " | + | |
- | endif | + | |
- | endif | + | |
+ | This happends only on x64 System`s. My package will ever prefer of using the EXE installer, the MSI files were only called in a fallback case!\\ | ||
+ | ===== TODO ===== | ||
+ | - Add feature; Install X.509 (root) Certificates into the Java Certificate chain. | ||
+ | - Change uninstall procedure using WMCI or Powershell, to avoid generating wrong uninstall strings. (Thanks Andreas) | ||
+ | - Nothing else at the moment.. If you have any suggestions, | ||
+ | ===== Product Properties ===== | ||
+ | < | ||
+ | [ProductProperty] | ||
+ | type: unicode | ||
+ | name: vm-type | ||
+ | multivalue: False | ||
+ | editable: False | ||
+ | description: | ||
+ | values: [" | ||
+ | default: [" | ||
- | [sub_uninstall_7] | + | [ProductProperty] |
- | if (" | + | type: unicode |
- | Set $msi_suffix$ = "FF" | + | name: patchjce |
- | else | + | multivalue: False |
- | Set $msi_suffix$ = "F0" | + | editable: False |
- | endif | + | description: |
+ | values: ["Off", "On"] | ||
+ | default: [" | ||
- | Message "Suche Java 7.0.$x$ x32" | + | [ProductProperty] |
- | if (($INST_SystemType$ = "x86 System" | + | type: unicode |
- | Set $DisplayName$ = GetRegistryStringValue ("[" + $Path$ + " | + | name: webjava |
- | if not ($DisplayName$ = "" | + | multivalue: False |
- | Message " | + | editable: False |
- | Set $MSI$ = "{26A24AE4-039D-4CA4-87B4-2F832170" | + | description: |
- | sub "%scriptpath%\delsub.ins" | + | values: ["Off", "On"] |
- | endif | + | default: ["On"] |
- | endif | + | |
- | if ($INST_SystemType$ = "64 Bit System" | + | [ProductProperty] |
- | Set $DisplayName$ = GetRegistryStringValue32 ("[" + $Path_64$ + " | + | type: unicode |
- | if not ($DisplayName$ = "" | + | name: webjava-security_level |
- | Message " | + | multivalue: False |
- | Set $MSI$ = " | + | editable: False |
- | sub " | + | description: |
- | endif | + | values: |
- | + | default: ["VH"] | |
- | Message " | + | |
- | Set $DisplayName$ = GetRegistryStringValue64 ("[" | + | |
- | if not ($DisplayName$ = "" | + | |
- | Message " | + | |
- | set $MSI$ = " | + | |
- | sub " | + | |
- | endif | + | |
- | endif | + | |
- | < | + | [ProductProperty] |
+ | type: unicode | ||
+ | name: java-updater | ||
+ | multivalue: False | ||
+ | editable: False | ||
+ | description: | ||
+ | values: [" | ||
+ | default: [" | ||
- | ===== delsub.ins ===== | + | [ProductProperty] |
- | <code winst delsub.ins> | + | type: unicode |
- | Message " | + | name: 32bitonly |
- | set $UninstallCommand$ = ' | + | multivalue: False |
- | killtask " | + | editable: False |
- | killtask "jqs.exe" | + | description: |
- | killtask | + | values: ["False", "True"] |
- | killtask " | + | default: ["False"] |
- | Winbatch_Uninstall | + | |
- | set $ExitCode$ = getLastExitCode | + | |
- | if $ExitCode$ = " | + | |
- | sleepSeconds 10 | + | |
- | Winbatch_Uninstall | + | |
- | set $ExitCode$ = getLastExitCode | + | |
- | if $ExitCode$ = " | + | |
- | sleepSeconds 20 | + | |
- | Winbatch_Uninstall | + | |
- | set $ExitCode$ = getLastExitCode | + | |
- | if $ExitCode$ = " | + | |
- | sleepSeconds 30 | + | |
- | Winbatch_Uninstall | + | |
- | set $ExitCode$ = getLastExitCode | + | |
- | if $ExitCode$ = " | + | |
- | sleepSeconds 40 | + | |
- | Winbatch_Uninstall | + | |
- | set $ExitCode$ = getLastExitCode | + | |
- | if $ExitCode$ = " | + | |
- | sleepSeconds 50 | + | |
- | Winbatch_Uninstall | + | |
- | endif | + | |
- | endif | + | |
- | endif | + | |
- | endif | + | |
- | endif | + | |
- | Sub_check_exitcode | + | |
- | if CompareDotSeparatedNumbers(" | + | |
- | includelog "c:\tmp\" | + | |
- | endif | + | |
- | Message " | + | |
- | [Winbatch_Uninstall] | + | [ProductProperty] |
- | $UninstallCommand$ | + | type: unicode |
+ | name: 64bitonly | ||
+ | multivalue: False | ||
+ | editable: False | ||
+ | description: | ||
+ | values: [" | ||
- | [Sub_check_exitcode] | + | [ProductProperty] |
- | comment "Test für die Installation erfolgt über Exit-Code" | + | type: unicode |
- | Set $ExitCode$ = getLastExitCode | + | name: updatebranch |
- | ; Informationen zu Exit-Codes zu sehen | + | multivalue: False |
- | ; http:// | + | editable: False |
- | ; http:// | + | description: Toggle between Critical Patch Update |
- | if ($ExitCode$ = " | + | values: ["CPU", "PSU"] |
- | comment "Sieht gut aus: Setup-Programm gibt Exitcode Null" | + | default: ["CPU"] |
- | else | + | |
- | comment "Setup Programm gibt einen unterschiedlichen Exitcode Null: " + $ExitCode$ | + | |
- | if ($ExitCode$ = " | + | |
- | comment " | + | |
- | comment " | + | |
- | else | + | |
- | if ($ExitCode$ = " | + | |
- | comment "sieht gut aus: Setup-Programm gibt exitcode 1641" | + | |
- | comment | + | |
- | else | + | |
- | if ($ExitCode$ = "3010") | + | |
- | comment "sieht gut aus: Setup-Programm gibt exitcode 3010" | + | |
- | comment | + | |
- | else | + | |
- | logError " | + | |
- | isFatalError | + | |
- | endif | + | |
- | endif | + | |
- | endif | + | |
- | endif | + | |
</ | </ | ||
- | ===== setup.ins | + | ===== Changelog |
- | < | + | < |
- | [Initial] | + | java (1.8.0.202-4.2.5) |
- | SetLogLevel=4 | + | -- Kevin Weis < |
- | ExitOnError=true | + | * update |
- | ScriptErrorMessages=off | + | |
- | TraceMode=off | + | |
- | StayOnTop=false | + | |
- | [Aktionen] | + | java (1.8.0.192-4.2.5) |
- | requiredWinstVersion >= "4.10.8.3" | + | -- Kevin Weis < |
- | Message " | + | * update |
- | DefVar $LogDir$ | + | |
- | DefVar $msiPath$ | + | |
- | DefVar $Reg_Path$ | + | |
- | DefVar $Reg_Path_64$ | + | |
- | DefVar $msi32$ | + | |
- | DefVar $msi64$ | + | |
- | DefVar $exe32$ | + | |
- | DefVar $exe64$ | + | |
- | DefVar $MSI$ | + | |
- | DefVar $ExitCode$ | + | |
- | DefVar $INST_MsVersion$ | + | |
- | DefVar $INST_SystemType$ | + | |
- | DefVar $INST_architecture$ | + | |
- | DefVar $ProductId$ | + | |
- | DefVar $UninstallCommand$ | + | |
- | DefVar $DisplayVersion$ | + | |
- | DefVar $DisplayName$ | + | |
- | DefVar $DisplayVersionx32$ | + | |
- | DefVar $DisplayVersionx64$ | + | |
- | DefVar $MinimumSpace$ | + | |
- | DefVar $msi_suffix$ | + | |
- | DefVar $Path$ | + | |
- | DefVar $Path_64$ | + | |
- | DefVar $update_Version$ | + | |
- | DefStringList $version6$ | + | |
- | DefStringList $version7$ | + | |
- | Set $ProductId$ = " | + | java (1.8.0.181-4.2.5) |
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | -- Kevin Weis < |
- | ; - Please edit the following values - | + | |
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | |
- | ; Look up for new update | + | |
- | ; https:// | + | |
- | set $version6$ = createStringList (' | + | |
- | ; Add the new update version number to the stringlist, also add all version numbers you have skipped. | + | java (1.8.0.172-4.2.5) |
- | ; https://en.wikipedia.org/ | + | -- Kevin Weis < |
- | set $version7$ = createStringList (' | + | * update |
- | ; increment the first takeString argument, by how much numbers you added to " | + | java (1.8.0.162-4.2.5) |
- | ; this is used to get the last index of " | + | -- Kevin Weis < |
- | Set $update_Version$ = takeString ( 18, $version7$ ) | + | * update |
+ | java (1.8.0.152-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | java (1.8.0.144-4.2.5) |
- | ; - DO NOT EDIT ANY VALUES BELOW! Unless you want to edit the functionality of this. - | + | -- Kevin Weis < |
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | * update |
- | Set $DisplayVersion$ = "7.0." + $update_Version$ | + | |
- | Set $MinimumSpace$ = "123 MB" | + | |
- | Set $msi32$ = " | + | |
- | Set $msi64$ = " | + | |
- | Set $exe32$ = "jre-7u" + $update_Version$ + "-windows-i586.exe" | + | |
- | Set $exe64$ = "jre-7u" + $update_Version$ + "-windows-x64.exe" | + | |
- | Set $LogDir$ = " | + | |
- | Set $INST_SystemType$ = GetSystemType | + | |
- | Set $INST_MsVersion$ = GetMsVersionInfo | + | |
- | Set $INST_architecture$ = GetProductProperty (" | + | |
- | Set $Path$ = " | + | |
- | Set $Path_64$ = " | + | |
- | Set $msi_suffix$ = "" | + | |
- | Set $DisplayName$ = $ProductId$ + " " + $DisplayVersion$ | + | |
- | Set $DisplayVersionx32$ = $ProductId$ + " " + $DisplayVersion$ + " x32" | + | |
- | Set $DisplayVersionx64$ = $ProductId$ + " " + $DisplayVersion$ + " x64" | + | |
- | Set $msiPath$ = " | + | |
- | ShowBitmap /3 " | + | java (1.8.0.141-4.2.5) |
+ | -- Kevin Weis < | ||
+ | * update | ||
- | if $INST_MsVersion$ < " | + | java (1.8.0.131-4.2.5) |
- | LogError " | + | -- Kevin Weis < |
- | isFatalError | + | * update |
- | endif | + | |
- | if not (HasMinimumSpace (" | + | |
- | LogError "Nicht genügend freier Speicher auf %SystemDrive%, | + | |
- | isFatalError | + | |
- | endif | + | |
- | Files_copy | + | java (1.8.0.121-4.2.5) |
+ | -- Kevin Weis < | ||
+ | * update | ||
- | sub " | + | java (1.8.0.112-4.2.5) |
+ | -- Kevin Weis < | ||
+ | * update | ||
- | killtask " | + | java (1.8.0.102-4.2.5) |
- | killtask "jqs.exe" | + | -- Kevin Weis < |
- | killtask "java.exe" | + | * update |
- | killtask "javaw.exe" | + | * update/ |
- | ; ############################################################################################################################################# | + | java (1.8.0.92-4.2.4) |
- | ; ################################################################### | + | -- Kevin Weis < |
- | ; ############################################################################################################################################# | + | * update |
- | if ($INST_SystemType$ = "64 Bit System" | + | |
- | Set $DisplayVersion$ = $DisplayVersionx64$ | + | |
- | Message " | + | |
- | Execwith_autoit_close_proxy " | + | |
- | Winbatch_install_x64 | + | |
- | Sub_check_exitcode | + | |
- | if CompareDotSeparatedNumbers(" | + | |
- | includelog " | + | |
- | endif | + | |
- | Killtask " | + | |
- | DOSInAnIcon_java_version | + | |
- | Registry_disable_update /64Bit | + | |
- | endif | + | |
- | ; ############################################################################################################################################# | + | java (1.8.0.77.3-4.2.4) |
- | ; ################################################################### | + | -- Kevin Weis < |
- | ; ############################################################################################################################################# | + | * update |
- | ; if (($INST_SystemType$ = "x86 System" | + | |
- | Set $DisplayVersion$ = $DisplayVersionx32$ | + | |
- | Message " | + | |
- | killtask " | + | |
- | killtask "jqs.exe" | + | |
- | killtask "java.exe" | + | |
- | killtask "javaw.exe" | + | |
- | Execwith_autoit_close_proxy " | + | |
- | Winbatch_install_x32 | + | |
- | Sub_check_exitcode | + | |
- | if CompareDotSeparatedNumbers(" | + | |
- | includelog " | + | |
- | endif | + | |
- | Killtask " | + | |
- | DOSInAnIcon_java_version | + | |
- | Registry_disable_update | + | |
- | ; endif | + | |
- | Files_delete | + | java (1.8.0.74.2-4.2.4) |
- | Message " | + | -- Kevin Weis < |
+ | * update | ||
- | [Winbatch_install_x32] | + | java (1.8.0.72.15-4.2.4) |
- | msiexec /i " | + | -- Kevin Weis < |
+ | * update | ||
+ | * add Product " | ||
+ | * add Product Property " | ||
- | [Winbatch_install_x64] | + | java (1.8.0.66.17-4.2.3) |
- | msiexec /i " | + | -- Kevin Weis < |
+ | * update | ||
- | [DOSInAnIcon_java_version] | + | java (1.8.0.60.27-4.2.3) |
- | " | + | -- Kevin Weis < |
+ | * update | ||
- | [Files_copy] | + | java (1.8.0.51.16-4.2.3) |
- | copy -s " | + | -- Kevin Weis < |
+ | | ||
- | [Files_delete] | + | java (1.8.0.45.14-4.2.3) |
- | delete | + | -- Kevin Weis < |
+ | * update | ||
- | [Execwith_autoit_close_proxy] | + | java (1.8.0.40.26-4.2.3) |
- | WinWait(" | + | -- Kevin Weis < |
- | Sleep(500) | + | * fixed: installation of Java JRE x86 on a x64 OS does not work (exit code 3) |
- | ; activating | + | |
- | WinActivate(" | + | |
- | send (" | + | |
- | exit | + | |
- | [Execwith_autoit_zertifikat] | + | java (1.8.0.40.26-4.2.2) |
- | WinWait(" | + | -- Kevin Weis < |
- | Sleep(500) | + | * update |
- | ; activating | + | |
- | WinActivate(" | + | |
- | send (" | + | |
- | exit | + | |
- | [Registry_disable_update] | + | java (1.8.0.31.13-4.2.2) |
- | openkey [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy] | + | -- Kevin Weis < |
- | set " | + | * update |
- | [Files_patch_JCE_x32] | + | java (1.8.0.25.18-4.2.2) |
- | copy -s " | + | -- Kevin Weis < |
+ | | ||
+ | * add ProductProperty | ||
+ | * Java 7 setup support droped (uninstalling of future Java 7 versions are still supported) | ||
- | [Files_patch_JCE_x64] | + | java (1.8.0.11.12-4.2.1) |
- | copy -s " | + | -- Kevin Weis < |
+ | | ||
- | [Sub_check_exitcode] | + | java (1.8.0.11.12-4.2) |
- | comment "Test für die Installation erfolgt über Exit-Code" | + | -- Kevin Weis < |
- | Set $ExitCode$ = getLastExitCode | + | * update; Java 1.0.7.60 build 19 to 1.0.7.65 build 19 |
- | ; Informationen zu Exit-Codes zu sehen | + | |
- | ; http:// | + | |
- | ; http://msdn.microsoft.com/en-us/ | + | |
- | if ($ExitCode$ = " | + | |
- | comment "Sieht gut aus: Setup-Programm gibt Exitcode Null" | + | |
- | else | + | |
- | comment "Setup Programm gibt einen unterschiedlichen Exitcode Null: " + $ExitCode$ | + | |
- | if ($ExitCode$ = " | + | |
- | comment " | + | |
- | comment " | + | |
- | else | + | |
- | if ($ExitCode$ = " | + | |
- | comment "sieht gut aus: Setup-Programm gibt exitcode 1641" | + | |
- | comment " | + | |
- | else | + | |
- | if ($ExitCode$ = " | + | |
- | comment "sieht gut aus: Setup-Programm gibt exitcode 3010" | + | |
- | comment " | + | |
- | else | + | |
- | logError " | + | |
- | isFatalError | + | |
- | endif | + | |
- | endif | + | |
- | endif | + | |
- | endif | + | |
- | </code> | + | java (1.8.0.05.13-4.2) |
+ | -- Kevin Weis <kevinweis@gmx.de> | ||
+ | * update; Java 1.0.7.55 to 1.0.7.60 build 19 | ||
+ | * add ProductProperty " | ||
+ | * since this update (Java 7u60 JRE x64/x86) the MSI-GUID has changed at one charcter (from " | ||
+ | Minor changes: | ||
+ | * add killing Opera.exe, before in-/ | ||
+ | * little Bug-fix which caused an installation abort with the (expected at this point) error code 1619. | ||
- | ===== uninstall.ins ===== | + | java (1.8.0.05.13-4.1) urgency=high |
- | <code winst uninstall.ins> | + | -- Kevin Weis <kevin.weis@faw.de> 2014-04-17 |
- | [Initial] | + | * update |
- | SetLogLevel=4 | + | * add JRE and JDK of Java 7 (ProductProperty " |
- | ExitOnError=true | + | * add discriptions to all ProductPropertys |
- | ScriptErrorMessages=off | + | * change default of ProductProperty " |
- | TraceMode=off | + | * change default of ProductProperty " |
- | StayOnTop=false | + | * NOTE: I´m using the JCE patch for Java 8, this work for Java 7 too (tested, no unwanted behaviour with SHA384, SHA512, AES192 and AES256) |
+ | Minor changes: | ||
+ | * Apply new variables nomination | ||
+ | * Fix check for minnimum Microsoft Windows Version (Java 8 is not supported on Windows XP, minnimum is Windows Vista >= 6.0) | ||
+ | * If some fatal error occours, the error will now be displayed (as a Message), too. | ||
+ | * clean up check_msi-exitcode; | ||
+ | * automate get last version of Java 7 and 8 (StringList) | ||
- | [Aktionen] | + | java (1.8.0-4) urgency=high |
- | requiredWinstVersion >= "4.10.8.3" | + | -- Kevin Weis <kevin.weis@faw.de> 2014-03-25.1933 |
- | Message " | + | * update |
- | DefVar $LogDir$ | + | * switch install procedure to exe, insted deprecated use of the msi-package |
- | DefVar $msiPath$ | + | * drop install procedure using the msi-package |
- | DefVar $Reg_Path$ | + | * add support for in- and uninstall both (jdk and jre), jce patched of cause ;) |
- | DefVar $Reg_Path_64$ | + | * switch message locale from german to english |
- | DefVar $msi32$ | + | * Use the check_msi-exitcode script from “Der-Matze”: |
- | DefVar $msi64$ | + | |
- | DefVar $exe32$ | + | |
- | DefVar $exe64$ | + | |
- | DefVar $MSI$ | + | |
- | DefVar $ExitCode$ | + | |
- | DefVar $INST_MsVersion$ | + | |
- | DefVar $INST_SystemType$ | + | |
- | DefVar $INST_architecture$ | + | |
- | DefVar $ProductId$ | + | |
- | DefVar $UninstallCommand$ | + | |
- | DefVar $DisplayVersion$ | + | |
- | DefVar $DisplayName$ | + | |
- | DefVar $DisplayVersionx32$ | + | |
- | DefVar $DisplayVersionx64$ | + | |
- | DefVar $MinimumSpace$ | + | |
- | DefVar $msi_suffix$ | + | |
- | DefVar $Path$ | + | |
- | DefVar $Path_64$ | + | |
- | DefVar $update_Version$ | + | |
- | DefStringList $version6$ | + | |
- | DefStringList $version7$ | + | |
- | Set $ProductId$ = " | + | see also: http://www.oracle.com/technetwork/java/ |
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | |
- | ; - Please edit the following values - | + | |
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | |
- | ; Look up for new update versions of Java 6. | + | |
- | ; https://en.wikipedia.org/wiki/Java_version_history# | + | |
- | set $version6$ = createStringList (' | + | |
- | ; Add the new update version number to the stringlist, also add all version numbers you have skipped. | + | java (7.0.51-3) urgency=high |
- | ; https://en.wikipedia.org/ | + | -- Kevin Weis <kevin.weis@faw.de> 2014-01-17.1220 |
- | set $version7$ = createStringList (' | + | * update |
+ | * add patch for JCE (Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7) | ||
+ | * find installed versions of JRE now by using a for loop (supporting deinstallation since java 6u10 x64 and x32) | ||
+ | * serval other little impovments | ||
- | ; increment the first takeString argument, by how much numbers you added to " | + | java (7.0.40-2.2) urgency=high |
- | ; this is used to get the last index of "$version7$" | + | -- Kevin Weis < |
- | Set $update_Version$ = takeString ( 18, $version7$ ) | + | update java version |
+ | SetLogLevel=4 | ||
+ | check_uninstall.ins: | ||
+ | add explicit declaration for > | ||
+ | java (7.0.25-2.1) urgency=high | ||
+ | -- Kevin Weis < | ||
+ | * check_uninstall.ins: | ||
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | java (7.0.17-2.1) urgency=high |
- | ; - DO NOT EDIT ANY VALUES BELOW! Unless you want to edit the functionality of this. - | + | -- Kevin Weis <kevin.weis@faw.de> 13:39 02.04.2013 |
- | ; ------------------------------------------------------------------------------------------------------------------------------------------------------- | + | - Bugfix bugfix |
- | Set $DisplayVersion$ = "7.0." + $update_Version$ | + | |
- | Set $MinimumSpace$ = "123 MB" | + | |
- | Set $msi32$ = " | + | |
- | Set $msi64$ = " | + | |
- | Set $exe32$ = "jre-7u" + $update_Version$ + " | + | |
- | Set $exe64$ = " | + | |
- | Set $LogDir$ = " | + | |
- | Set $INST_SystemType$ = GetSystemType | + | |
- | Set $INST_MsVersion$ = GetMsVersionInfo | + | |
- | Set $INST_architecture$ = GetProductProperty (" | + | |
- | Set $Path$ = " | + | |
- | Set $Path_64$ = " | + | |
- | Set $msi_suffix$ = "" | + | |
- | Set $DisplayName$ = $ProductId$ + " " + $DisplayVersion$ | + | |
- | Set $DisplayVersionx32$ = $ProductId$ + " " + $DisplayVersion$ + " x32" | + | |
- | Set $DisplayVersionx64$ = $ProductId$ + " " + $DisplayVersion$ + " x64" | + | |
- | Set $msiPath$ = " | + | |
- | ShowBitmap /3 " | + | java (7.0.9-2.0) urgency=high |
+ | -- Kevin Weis < | ||
+ | - Umstellung auf MSI | ||
+ | - Automatische Entscheidung zwischen x86 und x64 | ||
+ | - autoupdate = off | ||
+ | - Bugfix = hing fest bei der Installation/ | ||
- | sub " | + | java (7.0-7) testing; urgency=low |
- | Message " | + | java (7.0-4) testing; urgency=low |
+ | -- Kevin Weis < | ||
+ | * Initial package | ||
</ | </ | ||
+ |