Commit 4cf7c644 authored by CompileNix's avatar CompileNix
Browse files

Update to Java 8 update 144

parent 06656b51
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
If $ProductProperty_updateBranch$ = "PCU" Or $ProductProperty_updateBranch$ = "PSU"
	Set $UpdateVersion8$ = TakeString ( -1, $StringList_Java8$ )
Else
	Set $UpdateVersion8$ = TakeString ( -2, $StringList_Java8$ )
EndIf

; this version (8u121) has only a CPU branch
;If $ProductProperty_updateBranch$ = "PCU" Or $ProductProperty_updateBranch$ = "PSU"
	Set $UpdateVersion8$ = TakeString ( -1, $StringList_Java8$ )
;Else
;	Set $UpdateVersion8$ = TakeString ( -2, $StringList_Java8$ )
;EndIf

Set $ProductDisplayVersion$ = $ProductProperty_Version$ + "u" + $UpdateVersion8$
Set $ProductDisplayName$ = $ProductName$ + " " + $ProductDisplayVersion$
+4 −4
Original line number Diff line number Diff line
@@ -60,13 +60,13 @@ DefVar $UpdateVersion8$
Set $ProductName$ = "Java"

; https://en.wikipedia.org/wiki/Java_version_history#Java_6_updates
Set $StringList_Java6$ = CreateStringList ( '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '43', '45', '51', '65', '71', '75', '81', '85', '91', '95', '101', '105', '111', '113', '115', '121', '131', '141', '151' )
Set $StringList_Java6$ = CreateStringList ( '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '43', '45', '51', '65', '71', '75', '81', '85', '91', '95', '101', '105', '111', '113', '115', '121', '131', '141', '151', '161' )

; https://en.wikipedia.org/wiki/Java_version_history#Java_7_updates
Set $StringList_Java7$ = CreateStringList ( '00', '01', '02', '03', '04', '05', '06', '07', '09', '10', '11', '13', '15', '17', '21', '25', '40', '45', '51', '55', '60', '65', '67', '71', '72', '75', '76', '79', '80', '85', '91', '95', '99', '101', '111', '121', '131', '141' )
Set $StringList_Java7$ = CreateStringList ( '00', '01', '02', '03', '04', '05', '06', '07', '09', '10', '11', '13', '15', '17', '21', '25', '40', '45', '51', '55', '60', '65', '67', '71', '72', '75', '76', '79', '80', '85', '91', '95', '99', '101', '111', '121', '131', '141', '151' )

; https://en.wikipedia.org/wiki/Java_version_history#Java_8_updates
Set $StringList_Java8$ = CreateStringList ( '00', '05', '11', '20', '25', '31', '40', '45', '51', '60', '65', '66', '71', '72', '73', '74', '77', '91', '92', '101', '102', '111', '112', '121', '131', '141' )
Set $StringList_Java8$ = CreateStringList ( '00', '05', '11', '20', '25', '31', '40', '45', '51', '60', '65', '66', '71', '72', '73', '74', '77', '91', '92', '101', '102', '111', '112', '121', '131', '141', '144' )

Set $DefaultLogLevel$ = "6"
Set $IsUninstall$ = "False"
@@ -82,7 +82,7 @@ Set $ProductProperty_PatchJCE$ = GetProductProperty ( "PatchJCE" , "On" )
Set $ProductProperty_WebJava-Security_Level$ = GetProductProperty ( "WebJava-Security_Level" , "VH" )
Set $ProductProperty_32bitOnly$ = GetProductProperty ( "32bitOnly" , "False" )
Set $ProductProperty_64bitOnly$ = GetProductProperty ( "64bitOnly" , "False" )
Set $ProductProperty_updateBranch$ = GetProductProperty ( "updateBranch" , "CPU" )
;Set $ProductProperty_updateBranch$ = GetProductProperty ( "updateBranch" , "CPU" )
Set $RegistryPath$ = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"
Set $RegistryPath_x64$ = "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"
Set $Temp_MsiSuffix$ = ""
+3 −3
Original line number Diff line number Diff line
@@ -60,13 +60,13 @@ DefVar $UpdateVersion8$
Set $ProductName$ = "Java"

; https://en.wikipedia.org/wiki/Java_version_history#Java_6_updates
Set $StringList_Java6$ = CreateStringList ( '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '43', '45', '51', '65', '71', '75', '81', '85', '91', '95', '101', '105', '111', '113', '115', '121', '131', '141', '151' )
Set $StringList_Java6$ = CreateStringList ( '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '43', '45', '51', '65', '71', '75', '81', '85', '91', '95', '101', '105', '111', '113', '115', '121', '131', '141', '151', '161' )

; https://en.wikipedia.org/wiki/Java_version_history#Java_7_updates
Set $StringList_Java7$ = CreateStringList ( '00', '01', '02', '03', '04', '05', '06', '07', '09', '10', '11', '13', '15', '17', '21', '25', '40', '45', '51', '55', '60', '65', '67', '71', '72', '75', '76', '79', '80', '85', '91', '95', '99', '101', '111', '121', '131', '141' )
Set $StringList_Java7$ = CreateStringList ( '00', '01', '02', '03', '04', '05', '06', '07', '09', '10', '11', '13', '15', '17', '21', '25', '40', '45', '51', '55', '60', '65', '67', '71', '72', '75', '76', '79', '80', '85', '91', '95', '99', '101', '111', '121', '131', '141', '151' )

; https://en.wikipedia.org/wiki/Java_version_history#Java_8_updates
Set $StringList_Java8$ = CreateStringList ( '00', '05', '11', '20', '25', '31', '40', '45', '51', '60', '65', '66', '71', '72', '73', '74', '77', '91', '92', '101', '102', '111', '112', '121', '131', '141' )
Set $StringList_Java8$ = CreateStringList ( '00', '05', '11', '20', '25', '31', '40', '45', '51', '60', '65', '66', '71', '72', '73', '74', '77', '91', '92', '101', '102', '111', '112', '121', '131', '141', '144' )

Set $DefaultLogLevel$ = "6"
Set $IsUninstall$ = "False"
+12 −17
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ id: java
name: Java
description:
advice:
version: 1.8.0.141
version: 1.8.0.144
priority: -95
licenseRequired: False
productClasses:
@@ -84,16 +84,11 @@ description: Toggle if on a 64bit OS only the 64bit JRE/JDK will be installed.
values: ["False", "True"]
default: ["False"]

[ProductProperty]
type: unicode
name: updatebranch
multivalue: False
editable: False
description: Toggle between Critical Patch Update (CPU) and Patch Set Update (PSU)
values: ["CPU", "PSU"]
default: ["CPU"]

[Changelog]
java (1.8.0.144-4.2.5)
  -- Kevin Weis <Compilenix@compilenix.org> 2017-09-05
  * update

java (1.8.0.141-4.2.5)
  -- Kevin Weis <Compilenix@compilenix.org> 2017-07-20
  * update
+48 −61
Original line number Diff line number Diff line
====== Java (java_1.8.0.141-4.2.5) ======
====== Java (java_1.8.0.144-4.2.5) ======
**Feel free to contact me :)**

Tested with Opsi 4.0.7.17\\
Tested with Winst 4.11.5.20\\
Tested with Debian 8\\
Tested with Opsi 4.0.7.45\\
Tested with Winst 4.11.6.12\\
Tested with Server 2016 x64\\
Tested with 10 Pro x64\\
Tested with 10 Enterprise x64\\
Tested with 8.1 Pro x64\\
Tested with 7 Pro x64\\
Tested with 7 Pro x86\\
Tested with Java 6u10 - 8u141\\
Tested with Java 6u10 - 8u144\\
requiredWinstVersion >= 4.11.5\\
By <Compilenix@compilenix.org> 2017-07-20\\
By <Compilenix@compilenix.org> 2017-09-05\\

Download: [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.141-4.2.5.opsi | All in one - installable opsi package (~ 1 GiB)]]\\
Download: [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.144-4.2.5.opsi | All in one - installable opsi package (~ 1 GiB)]]\\
Checksum's and detached pgp signatures: https://compilenix.org/public/opsi/localboot/java/

Source Code: [[https://git.compilenix.org/Compilenix/opsi-java | Code repository]]\\
@@ -27,7 +28,7 @@ Fingerprint: CC6047FA5B4449F28940636910B6666EE763633D\\
https://compilenix.org/public/certificates/pgp/compilenix%40compilenix.org%20%280xE763633D%29.asc

Download: my [[https://compilenix.org/public/opsi/Winst.xml | Notepad++ Syntax Highlighting]]\\
Download: my [[https://compilenix.org/public/opsi/winst-4.11.6.vsix | Visual Studio Code Syntax Highlighting]]
Download: my [[https://marketplace.visualstudio.com/items?itemName=Compilenix.winst | Visual Studio Code Syntax Highlighting]]

<code>
Tree:
@@ -39,28 +40,28 @@ Tree:
│   │   └── local_policy.jar
│   ├── setup_data
│   │   ├── msi
│   │   │   ├── jdk1.8.0_141
│   │   │   │   ├── jdk1.8.0_141.msi
│   │   │   │   ├── sj180141.cab
│   │   │   │   ├── ss180141.cab
│   │   │   │   ├── st180141.cab
│   │   │   │   └── sz180141.cab
│   │   │   ├── jdk1.8.0_141_x64
│   │   │   │   ├── jdk1.8.0_14164.msi
│   │   │   │   ├── sj180141.cab
│   │   │   │   ├── ss180141.cab
│   │   │   │   ├── st180141.cab
│   │   │   │   └── sz180141.cab
│   │   │   ├── jre1.8.0_141
│   │   │   │   └── jre1.8.0_141.msi
│   │   │   └── jre1.8.0_141_x64
│   │   │       └── jre1.8.0_14164.msi
│   │   │   ├── jdk1.8.0_144
│   │   │   │   ├── jdk1.8.0_144.msi
│   │   │   │   ├── sj180144.cab
│   │   │   │   ├── ss180144.cab
│   │   │   │   ├── st180144.cab
│   │   │   │   └── sz180144.cab
│   │   │   ├── jdk1.8.0_144_x64
│   │   │   │   ├── jdk1.8.0_14464.msi
│   │   │   │   ├── sj180144.cab
│   │   │   │   ├── ss180144.cab
│   │   │   │   ├── st180144.cab
│   │   │   │   └── sz180144.cab
│   │   │   ├── jre1.8.0_144
│   │   │   │   └── jre1.8.0_144.msi
│   │   │   └── jre1.8.0_144_x64
│   │   │       └── jre1.8.0_14464.msi
│   │   ├── License.txt
│   │   ├── License.url
│   │   ├── jdk-8u141-windows-i586.exe
│   │   ├── jdk-8u141-windows-x64.exe
│   │   ├── jre-8u141-windows-i586.exe
│   │   └── jre-8u141-windows-x64.exe
│   │   ├── jdk-8u144-windows-i586.exe
│   │   ├── jdk-8u144-windows-x64.exe
│   │   ├── jre-8u144-windows-i586.exe
│   │   └── jre-8u144-windows-x64.exe
│   ├── Sub_UpdateVariables.ins
│   ├── check_msi-exitcode.ins
│   ├── check_uninstall.ins
@@ -68,25 +69,17 @@ Tree:
│   ├── java.png
│   ├── setup.ins
│   └── uninstall.ins
├── OPSI
│   ├── control
│   ├── postinst
│   └── preinst
├── LICENSE
├── Opsi-Wiki.wiki
├── README.md
├── jceCheck.jar
├── sha256sum.txt
├── sha256sum.txt.asc
├── shasum.sh
└── shasum_verify.sh
└── OPSI
    ├── control
    ├── postinst
    └── preinst

</code>

==== What it does, and what not ====
 It Does:
  - Handle install: x64 and x86, JRE and JDK
  - Handle uninstall: x64 and x86, JRE of Java 1.6.0.10 until 1.8.0.141, JDK of Java 1.7.0.0 until 1.8.0.141
  - Handle uninstall: x64 and x86, JRE of Java 1.6.0.10 until 1.8.0.144, JDK of Java 1.7.0.0 until 1.8.0.144
  - Installation of Java 8
  - Add the JCE Patch to every Java installation; see: [[https://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html | JCE Documentation]]
  - Use the check_msi-exitcode script from "Der-Matze": [[userspace:check_msi-exitcode]] (modified)
@@ -107,8 +100,8 @@ This happends only on x64 System`s. My package will ever prefer of using the EXE

==== Change Log ====
<code>
java (1.8.0.141-4.2.5)
  -- Kevin Weis <Compilenix@compilenix.org> 2017-07-20
java (1.8.0.144-4.2.5)
  -- Kevin Weis <Compilenix@compilenix.org> 2017-09-05
  * update
</code>

@@ -130,7 +123,7 @@ id: java
name: Java
description:
advice:
version: 1.8.0.141
version: 1.8.0.144
priority: -95
licenseRequired: False
productClasses:
@@ -203,18 +196,12 @@ multivalue: False
editable: False
description: Toggle if on a 64bit OS only the 64bit JRE/JDK will be installed.
values: ["False", "True"]
default: ["False"]

[ProductProperty]
type: unicode
name: updatebranch
multivalue: False
editable: False
description: Toggle between Critical Patch Update (CPU) and Patch Set Update (PSU)
values: ["CPU", "PSU"]
default: ["CPU"]

[Changelog]
java (1.8.0.144-4.2.5)
  -- Kevin Weis <Compilenix@compilenix.org> 2017-09-05
  * update

java (1.8.0.141-4.2.5)
  -- Kevin Weis <Compilenix@compilenix.org> 2017-07-20
  * update
Loading