Commit 2f5844cb authored by root's avatar root
Browse files

Update to Java 8 update 72

parent ffe22a36
[core]
filemode=false
......@@ -4,4 +4,3 @@
*.cab
*.msi
*.jar
*.asc
If $ProductProperty_updateBranch$ = "PCU"
Set $UpdateVersion8$ = TakeString ( -1, $StringList_Java8$ )
EndIf
Set $ProductDisplayVersion$ = $ProductProperty_Version$ + "u" + $UpdateVersion8$
Set $ProductVersion$ = "1." + $ProductProperty_Version$ + ".0_" + $UpdateVersion8$
Set $PathSetup_Msi32$ = "msi\" + $ProductProperty_VM-Type$ + $ProductVersion$ + "\" + $ProductProperty_VM-Type$ + $ProductVersion$ + ".msi"
......
......@@ -6,6 +6,7 @@ KillTask "jqs.exe"
KillTask "MicrosoftEdge.exe"
KillTask "java.exe"
KillTask "javaw.exe"
KillTask "jp2launcher.exe"
SetLogLevel = 6
Message "Uninstall " + $ProductDisplayName$
......
......@@ -38,6 +38,8 @@ DefVar $ProductProperty_VM-Type$
DefVar $ProductProperty_WebJava$
DefVar $ProductProperty_WebJava-Security_Level$
DefVar $ProductProperty_32bitOnly$
DefVar $ProductProperty_64bitOnly$
DefVar $ProductProperty_updateBranch$
DefVar $ProductProperty_PatchJCE$
DefVar $ProductVersion$
DefVar $RegistryPath$
......@@ -55,16 +57,16 @@ 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' )
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' )
; 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' )
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' )
; 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' )
Set $StringList_Java8$ = CreateStringList ( '00', '05', '11', '20', '25', '31', '40', '45', '51', '60', '65', '66', '71', '72' )
; Get last update version
Set $UpdateVersion8$ = TakeString ( -1, $StringList_Java8$ )
; Get last (Critical Patch Update) update version
Set $UpdateVersion8$ = TakeString ( -2, $StringList_Java8$ )
Set $DefaultLogLevel$ = "6"
Set $IsUninstall$ = "False"
......@@ -74,11 +76,13 @@ Set $PathSetup_Data$ = "%ScriptPath%\setup_data\"
Set $ProcessorArchitecture$ = GetSystemType
Set $ProductProperty_Version$ = "8"
Set $ProductProperty_Java-Updater$ = GetProductProperty ( "Java-Updater" , "Off" )
Set $ProductProperty_VM-Type$ = GetProductProperty ( "VM-Type" , "jdk" )
Set $ProductProperty_VM-Type$ = GetProductProperty ( "VM-Type" , "jre" )
Set $ProductProperty_WebJava$ = GetProductProperty ( "WebJava" , "On" )
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 $RegistryPath$ = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"
Set $RegistryPath_x64$ = "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"
Set $Temp_MsiSuffix$ = ""
......@@ -146,6 +150,7 @@ KillTask "MicrosoftEdge.exe"
KillTask "jqs.exe"
KillTask "java.exe"
KillTask "javaw.exe"
KillTask "jp2launcher.exe"
; #############################################################################################################################################
; ################################################################### Install x64 ###################################################################
......@@ -169,63 +174,67 @@ If $ProcessorArchitecture$ = "64 Bit System"
Registry_disable_update /64Bit
EndIf
EndIf
Message "Install " + $ProductDisplayVersion_x32$ + " first try"
If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ )
SetLogLevel = 6
WinBatch_install_x86 /WaitOnClose
SetLogLevel = $DefaultLogLevel$
Else
LogWarning "File not found: " + $exePath$ + $exe_32$
EndIf
; Installation of Java x86 at a x64 system envirement does "fail", because the java x86 installer seems NOT to be designed to be executed In a SYSTEM "user" conetxt.
Set $Temp_ExitCode$ = GetLastExitCode
If $Temp_ExitCode$ = "1619" Or $Temp_ExitCode$ = "3"
If $Temp_ExitCode$ = "3"
Comment "ExitCode = " + $Temp_ExitCode$ + ' ERROR_UNKNOWN; This is what we expected, kind of. whatever... '
If $ProductProperty_64bitOnly$ = "False"
Message "Install " + $ProductDisplayVersion_x32$ + " first try"
If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ )
SetLogLevel = 6
WinBatch_install_x86 /WaitOnClose
SetLogLevel = $DefaultLogLevel$
Else
Comment "ExitCode = " + $Temp_ExitCode$ + ' ERROR_INSTALL_PACKAGE_OPEN_FAILED; This is what we expected, so its a "good" sign.'
LogWarning "File not found: " + $exePath$ + $exe_32$
EndIf
EndIf
If $ProductProperty_64bitOnly$ = "False"
; Installation of Java x86 at a x64 system envirement does "fail", because the java x86 installer seems NOT to be designed to be executed In a SYSTEM "user" conetxt.
Set $Temp_ExitCode$ = GetLastExitCode
If $Temp_ExitCode$ = "1619" Or $Temp_ExitCode$ = "3"
If $Temp_ExitCode$ = "3"
Comment "ExitCode = " + $Temp_ExitCode$ + ' ERROR_UNKNOWN; This is what we expected, kind of. whatever... '
Else
Comment "ExitCode = " + $Temp_ExitCode$ + ' ERROR_INSTALL_PACKAGE_OPEN_FAILED; This is what we expected, so its a "good" sign.'
EndIf
SetLogLevel = 5
Files_delete_broken_x86_x64 /32Bit
SetLogLevel = 1
SetLogLevel = 5
Files_delete_broken_x86_x64 /32Bit
SetLogLevel = 1
Message "Install " + $ProductDisplayVersion_x32$ + " second try"
If $ProductProperty_VM-Type$ = "jdk"
Message "Install " + $ProductDisplayVersion_x32$ + " second try"
If $ProductProperty_VM-Type$ = "jdk"
If FileExists ( $PathSetup_Data$ + $PathSetup_Msi32$ )
SetLogLevel = 6
WinBatch_install_x86_MSI /WaitOnClose
SetLogLevel = 1
Sub "%ScriptPath%\check_msi-exitcode.ins"
Else
Message "Fatal error: File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
LogError "File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
IsFatalError "File not found: " + $exePath$ + $msi32$
EndIf
EndIf
; Explicit install Java x86, because in this situation the Java Installer (MSI) only install the jdk And for some reason it does NOT install the jre :(
Set $PathSetup_Msi32$ = "msi\jre" + $ProductVersion$ + "\jre" + $ProductVersion$ + ".msi"
If FileExists ( $PathSetup_Data$ + $PathSetup_Msi32$ )
SetLogLevel = 6
WinBatch_install_x86_64_UseMSI /WaitOnClose
WinBatch_install_x86_MSI /WaitOnClose
SetLogLevel = 1
Sub "%ScriptPath%\check_msi-exitcode.ins"
Else
Message "Fatal error: File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
LogError "File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
IsFatalError "File not found: " + $exePath$ + $msi32$
IsFatalError "File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
EndIf
EndIf
; Explicit install Java x86, because in this situation the Java Installer (MSI) only install the jdk And for some reason it does NOT install the jre :(
Set $PathSetup_Msi32$ = "msi\jre" + $ProductVersion$ + "\jre" + $ProductVersion$ + ".msi"
If FileExists ( $PathSetup_Data$ + $PathSetup_Msi32$ )
SetLogLevel = 6
WinBatch_install_x86_64_UseMSI /WaitOnClose
SetLogLevel = 1
Sub "%ScriptPath%\check_msi-exitcode.ins"
; Reset changed variables
Sub "%ScriptPath%\Sub_UpdateVariables.ins"
Else
Message "Fatal error: File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
LogError "File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
IsFatalError "File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$
Sub "%ScriptPath%\check_msi-exitcode.ins"
EndIf
If $ProductProperty_Java-Updater$ = "JAVAUPDATE=0"
Registry_disable_update /32Bit
EndIf
; Reset changed variables
Sub "%ScriptPath%\Sub_UpdateVariables.ins"
Else
Sub "%ScriptPath%\check_msi-exitcode.ins"
EndIf
If $ProductProperty_Java-Updater$ = "JAVAUPDATE=0"
Registry_disable_update /32Bit
EndIf
EndIf
......@@ -233,21 +242,21 @@ EndIf
; ################################################################### Install x32 ###################################################################
; #############################################################################################################################################
If $ProcessorArchitecture$ = "x86 System"
Message "Install " + $ProductDisplayVersion_x32$
If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ )
SetLogLevel = 6
WinBatch_install_x86 /WaitOnClose
SetLogLevel = 1
Sub "%ScriptPath%\check_msi-exitcode.ins"
Else
Message "Fatal error: File not found: " + $PathSetup_Data$ + $PathSetup_Exe32$
LogError "File not found: " + $PathSetup_Data$ + $PathSetup_Exe32$
IsFatalError "File not found: " + $PathSetup_Data$ + $PathSetup_Exe32$
EndIf
If $ProductProperty_Java-Updater$ = "JAVAUPDATE=0"
Registry_disable_update /32Bit
EndIf
If $ProcessorArchitecture$ = "x86 System" And $ProductProperty_64bitOnly$ = "False"
Message "Install " + $ProductDisplayVersion_x32$
If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ )
SetLogLevel = 6
WinBatch_install_x86 /WaitOnClose
SetLogLevel = 1
Sub "%ScriptPath%\check_msi-exitcode.ins"
Else
Message "Fatal error: File not found: " + $PathSetup_Data$ + $PathSetup_Exe32$
LogError "File not found: " + $PathSetup_Data$ + $PathSetup_Exe32$
IsFatalError "File not found: " + $PathSetup_Data$ + $PathSetup_Exe32$
EndIf
If $ProductProperty_Java-Updater$ = "JAVAUPDATE=0"
Registry_disable_update /32Bit
EndIf
EndIf
; Patch JCE
......@@ -267,17 +276,19 @@ If $ProductProperty_PatchJCE$ = "On"
EndIf
EndIf
If FileExists ( "%ProgramFiles32Dir%\Java\jre" + $ProductVersion$ + "\bin\java.exe" )
Message "Apply patch For JCE (Java Cryptography Extension)"
If $ProductProperty_VM-Type$ = "jdk" And FileExists ( "%ProgramFiles32Dir%\Java\jdk" + $ProductVersion$ + "\bin\javac.exe" )
Files_patch_JCE_JDK_x86
EndIf
If $ProductProperty_VM-Type$ = "jdk" And ( Not ( FileExists ( "%ProgramFiles32Dir%\Java\jdk" + $ProductVersion$ + "\bin\javac.exe" ) ) )
LogWarning "NOT Patching JCE for x86 JDK; File not found: %ProgramFiles32Dir%\Java\jdk" + $ProductVersion$ + "\bin\javac.exe"
If $ProductProperty_64bitOnly$ = "False"
If FileExists ( "%ProgramFiles32Dir%\Java\jre" + $ProductVersion$ + "\bin\java.exe" )
Message "Apply patch For JCE (Java Cryptography Extension)"
If $ProductProperty_VM-Type$ = "jdk" And FileExists ( "%ProgramFiles32Dir%\Java\jdk" + $ProductVersion$ + "\bin\javac.exe" )
Files_patch_JCE_JDK_x86
EndIf
If $ProductProperty_VM-Type$ = "jdk" And ( Not ( FileExists ( "%ProgramFiles32Dir%\Java\jdk" + $ProductVersion$ + "\bin\javac.exe" ) ) )
LogWarning "NOT Patching JCE for x86 JDK; File not found: %ProgramFiles32Dir%\Java\jdk" + $ProductVersion$ + "\bin\javac.exe"
EndIf
Files_patch_JCE_JRE_x86
Else
LogWarning "NOT Patching JCE for x86 JRE and JDK; File not found: %ProgramFiles32Dir%\Java\jre" + $ProductVersion$ + "\bin\java.exe"
EndIf
Files_patch_JCE_JRE_x86
Else
LogWarning "NOT Patching JCE for x86 JRE and JDK; File not found: %ProgramFiles32Dir%\Java\jre" + $ProductVersion$ + "\bin\java.exe"
EndIf
Message "Install complete"
......@@ -287,7 +298,7 @@ Else
EndIf
[WinBatch_install_x86_64_UseMSI]
[WinBatch_install_x86_MSI]
msiexec /i "$PathSetup_Data$$PathSetup_Msi32$" $Arguments_Msi$
[WinBatch_install_x86]
......
......@@ -38,6 +38,8 @@ DefVar $ProductProperty_VM-Type$
DefVar $ProductProperty_WebJava$
DefVar $ProductProperty_WebJava-Security_Level$
DefVar $ProductProperty_32bitOnly$
DefVar $ProductProperty_64bitOnly$
DefVar $ProductProperty_updateBranch$
DefVar $ProductProperty_PatchJCE$
DefVar $ProductVersion$
DefVar $RegistryPath$
......@@ -55,16 +57,16 @@ 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' )
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' )
; 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' )
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' )
; 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' )
Set $StringList_Java8$ = CreateStringList ( '00', '05', '11', '20', '25', '31', '40', '45', '51', '60', '65', '66', '71', '72' )
; Get last update version
Set $UpdateVersion8$ = TakeString ( -1, $StringList_Java8$ )
; Get last (Critical Patch Update) update version
Set $UpdateVersion8$ = TakeString ( -2, $StringList_Java8$ )
Set $DefaultLogLevel$ = "6"
Set $IsUninstall$ = "False"
......@@ -79,6 +81,8 @@ Set $ProductProperty_WebJava$ = GetProductProperty ( "WebJava" , "On" )
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 $RegistryPath$ = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"
Set $RegistryPath_x64$ = "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"
Set $Temp_MsiSuffix$ = ""
......
[Package]
version: 4.2.3
version: 4.2.4
depends:
incremental: False
......@@ -8,8 +8,8 @@ type: localboot
id: java
name: Java
description:
advice: Tested with Opsi 4.0.5.20, Winst 4.11.4.12 on Win 7 Enterprise x86/x64, Win 8.1 Pro x64 and Win 10 x64
version: 1.8.0.66.17
advice: Tested with Opsi 4.0.6.11, Winst 4.11.3.6 on Win 8.1 Pro x64
version: 1.8.0.72.15
priority: -95
licenseRequired: False
productClasses:
......@@ -75,7 +75,31 @@ description: Toggle if on a 64bit OS only the 32bit JRE/JDK will be installed.
values: ["False", "True"]
default: ["False"]
[ProductProperty]
type: unicode
name: 64bitonly
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 (PCU)
values: ["CPU", "PCU"]
default: ["CPU"]
[Changelog]
java (1.8.0.72.15-4.2.4)
-- Kevin Weis <Compilenix@compilenix.org> 2015-10-26
* update
* add Product "updateBranch" choose between 8u71 and 8u72 (more info: )
* add Product Property "64bitonly" (default: False)
java (1.8.0.66.17-4.2.3)
-- Kevin Weis <Compilenix@compilenix.org> 2015-10-26
* update
......@@ -192,3 +216,6 @@ java (7.0-4) testing; urgency=low
====== Java (java_1.8.0.66.17-4.2.3) ======
====== Java (java_1.8.0.72.15-4.2.4) ======
**Feel free to contact me :)**
Tested with Opsi 4.0.5.20\\
Tested with Winst 4.11.4.12\\
Tested with 7 Enterprise x86/x64\\
Tested with Opsi 4.0.6.11\\
Tested with Winst 4.11.3.6\\
Tested with 8.1 Pro x64\\
Tested with 10 Enterprise x64\\
Tested with Java 6u10 - 8u66\\
Tested with Java 6u10 - 8u72\\
requiredWinstVersion >= 4.11.3\\
By <Compilenix@compilenix.org> 2015-10-26\\
By <Compilenix@compilenix.org> 2016-02-02\\
Download: [[http://compilenix.org/public/opsi/localboot/java/java_1.8.0.66.17-4.2.3.opsi | All in one - installable opsi package (~ 923 MiB)]] [[http://compilenix.org/public/opsi/localboot/java/java_1.8.0.66.17-4.2.3.opsi.asc | (detached pgp signature)]]\\
Download: [[http://compilenix.org/public/opsi/localboot/java/java_1.8.0.66.17-4.2.3.7z | Setup binary´s only (~ 952 MiB)]] [[http://compilenix.org/public/opsi/localboot/java/java_1.8.0.66.17-4.2.3.7z.asc | (detached pgp signature)]]\\
Download: [[http://compilenix.org/public/opsi/localboot/java/java_1.8.0.66.17-4.2.3_script.7z | Setup script´s only (~ 222 KiB)]] [[http://compilenix.org/public/opsi/localboot/java/java_1.8.0.66.17-4.2.3_script.7z.asc | (detached pgp signature)]]\\
Download: [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.72.15-4.2.4.opsi | All in one - installable opsi package (~ 1.8 GiB)]] [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.72.15-4.2.4.opsi.asc | (detached pgp signature)]]\\
Download: [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.72.15-4.2.4.7z | MSI-Setup binary´s only (~ 905 MiB)]] [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.72.15-4.2.4.7z.asc | (detached pgp signature)]]\\
Download: [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.72.15-4.2.4_script.7z | Setup script´s only (~ 28 KiB)]] [[https://compilenix.org/public/opsi/localboot/java/java_1.8.0.72.15-4.2.4_script.7z.asc | (detached pgp signature)]]\\
Checksum's: [[http://compilenix.org/public/opsi/localboot/java/ | md5, sha1, sha256, sha512]] and of cause the [[http://compilenix.org/public/opsi/localboot/java/ | (detached pgp signatures)]]\\
Checksum's: [[https://compilenix.org/public/opsi/localboot/java/ | sha1, sha256]] and the [[https://compilenix.org/public/opsi/localboot/java/ | (detached pgp signatures)]]\\
Source: [[https://git.compilenix.org/Compilenix/opsi-java | Code repository]]
Check if you have the JCE extrension installed: [[http://compilenix.org/public/opsi/jceCheck.jar | jceCheck.jar]] [[http://compilenix.org/public/opsi/jceCheck.jar.asc | (detached pgp signature)]]\\
Check if you have the JCE extrension installed: [[https://compilenix.org/public/opsi/jceCheck.jar | jceCheck.jar]] [[https://compilenix.org/public/opsi/jceCheck.jar.asc | (detached pgp signature)]]\\
All downloads are pgp signed with:\\
Compilenix <Compilenix@compilenix.org>\\
Validity: from 2015-01-09 11:29 through 2016-01-09 11:29\\
Validity: from 2015-01-09 11:29 until forever or revoked\\
Certificate type: 4,096-bit RSA\\
Key-ID: E763633D\\
Fingerprint: CC6047FA5B4449F28940636910B6666EE763633D\\
http://compilenix.org/public/certificates/pgp/compilenix%40compilenix.org%20%280xE763633D%29.asc
https://compilenix.org/public/certificates/pgp/compilenix%40compilenix.org%20%280xE763633D%29.asc
Download: my [[http://compilenix.org/public/opsi/Winst.xml | Notepad++ Syntax Highlighting]]
Download: my [[https://compilenix.org/public/opsi/Winst.xml | Notepad++ Syntax Highlighting]]
<code>
Tree:
......@@ -38,50 +36,68 @@ Tree:
│   ├── delsub.ins
│   ├── java.png
│   ├── setup_data
│   │   ├── jdk-8u66-windows-i586.exe
│   │   ├── jdk-8u66-windows-x64.exe
│   │   ├── jre-8u66-windows-i586.exe
│   │   ├── jre-8u66-windows-x64.exe
│   │   ├── jdk-8u71-windows-i586.exe
│   │   ├── jdk-8u71-windows-x64.exe
│   │   ├── jdk-8u72-windows-i586.exe
│   │   ├── jdk-8u72-windows-x64.exe
│   │   ├── jre-8u71-windows-i586.exe
│   │   ├── jre-8u71-windows-x64.exe
│   │   ├── jre-8u72-windows-i586.exe
│   │   ├── jre-8u72-windows-x64.exe
│   │   ├── License.txt
│   │   ├── License.url
│   │   └── msi
│   │   ├── jdk1.8.0_66
│   │   │   ├── jdk1.8.0_66.msi
│   │   │   ├── sj180660.cab
│   │   │   ├── ss180660.cab
│   │   │   ├── st180660.cab
│   │   │   └── sz180660.cab
│   │   ├── jdk1.8.0_66_x64
│   │   │   ├── jdk1.8.0_66.msi
│   │   │   ├── sj180660.cab
│   │   │   ├── ss180660.cab
│   │   │   ├── st180660.cab
│   │   │   └── sz180660.cab
│   │   ├── jre1.8.0_66
│   │   │   └── jre1.8.0_66.msi
│   │   └── jre1.8.0_66_x64
│   │   └── jre1.8.0_66.msi
│   │   ├── jdk1.8.0_71
│   │   │   ├── jdk1.8.0_71.msi
│   │   │   ├── sj180710.cab
│   │   │   ├── ss180710.cab
│   │   │   ├── st180710.cab
│   │   │   └── sz180710.cab
│   │   ├── jdk1.8.0_71_x64
│   │   │   ├── jdk1.8.0_71.msi
│   │   │   ├── sj180710.cab
│   │   │   ├── ss180710.cab
│   │   │   ├── st180710.cab
│   │   │   └── sz180710.cab
│   │   ├── jdk1.8.0_72
│   │   │   ├── jdk1.8.0_72.msi
│   │   │   ├── sj180720.cab
│   │   │   ├── ss180720.cab
│   │   │   ├── st180720.cab
│   │   │   └── sz180720.cab
│   │   ├── jdk1.8.0_72_x64
│   │   │   ├── jdk1.8.0_72.msi
│   │   │   ├── sj180720.cab
│   │   │   ├── ss180720.cab
│   │   │   ├── st180720.cab
│   │   │   └── sz180720.cab
│   │   ├── jre1.8.0_71
│   │   │   └── jre1.8.0_71.msi
│   │   ├── jre1.8.0_71_x64
│   │   │   └── jre1.8.0_71.msi
│   │   ├── jre1.8.0_72
│   │   │   └── jre1.8.0_72.msi
│   │   └── jre1.8.0_72_x64
│   │   └── jre1.8.0_72.msi
│   ├── setup.ins
│   ├── Sub_UpdateVariables.ins
│   ├── uninstall.ins
│   └── UnlimitedJCEPolicy
│   ├── JCE_PATCHED
│   ├── local_policy.jar
│   ├── README.txt
│   └── US_export_policy.jar
│   └── README.txt
└── OPSI
├── control
├── postinst
└── preinst
   ├── control
   ├── postinst
   └── preinst
</code>
==== What is 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.66, JDK of Java 1.7.0.0 until 1.8.0.66
- Handle uninstall: x64 and x86, JRE of Java 1.6.0.10 until 1.8.0.72, JDK of Java 1.7.0.0 until 1.8.0.72
- Installation of Java 8
- Add the JCE Patch to every Java installation; see: [[http://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html | JCE Documentation]]
- 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)
It Does NOT:
......@@ -100,9 +116,11 @@ This happends only on x64 System`s. My package will ever prefer of using the EXE
==== Change Log ====
<code>
java (1.8.0.66.17-4.2.3)
-- Kevin Weis <Compilenix@compilenix.org> 2015-09-09
java (1.8.0.72.15-4.2.4)
-- Kevin Weis <Compilenix@compilenix.org> 2015-10-26
* update
* add Product "updateBranch" choose between 8u71 and 8u72 (more info: http://www.oracle.com/technetwork/java/javase/cpu-psu-explained-2331472.html)
* add Product Property "64bitonly" (default: False)
</code>
==== TODO ====
......@@ -113,7 +131,7 @@ java (1.8.0.66.17-4.2.3)
===== control =====
<code winst control.txt>
[Package]
version: 4.2.3
version: 4.2.4
depends:
incremental: False
......@@ -122,8 +140,8 @@ type: localboot
id: java
name: Java
description:
advice: Tested with Opsi 4.0.5.20, Winst 4.11.4.12 on Win 7 Enterprise x86/x64, Win 8.1 Pro x64 and Win 10 x64
version: 1.8.0.66.17
advice: Tested with Opsi 4.0.6.11, Winst 4.11.3.6 on Win 8.1 Pro x64
version: 1.8.0.72.15
priority: -95
licenseRequired: False
productClasses:
......@@ -189,7 +207,31 @@ description: Toggle if on a 64bit OS only the 32bit JRE/JDK will be installed.
values: ["False", "True"]
default: ["False"]
[ProductProperty]
type: unicode
name: 64bitonly
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 (PCU)
values: ["CPU", "PCU"]
default: ["CPU"]
[Changelog]
java (1.8.0.72.15-4.2.4)
-- Kevin Weis <Compilenix@compilenix.org> 2015-10-26
* update
* add Product "updateBranch" choose between 8u71 and 8u72 (more info: http://www.oracle.com/technetwork/java/javase/cpu-psu-explained-2331472.html)
* add Product Property "64bitonly" (default: False)
java (1.8.0.66.17-4.2.3)
-- Kevin Weis <Compilenix@compilenix.org> 2015-10-26
* update
......@@ -238,8 +280,8 @@ java (1.8.0.05.13-4.2)
* add ProductProperty "32bitOnly". The functionality of this option will be extended with the next Java 8 update.
* since this update (Java 7u60 JRE x64/x86) the MSI-GUID has changed at one charcter (from "8" to "0"), no idea why -> ask Oracle -.- (see "check_uninstall.ins" from line 69 - 74)
Minor changes:
* add killing Opera.exe, before in-/uninstall.
* little Bug-fix which caused an installation abort with the (expected at this point) error code 1619.
* add killing Opera.exe, before in-/uninstall.
* little Bug-fix which caused an installation abort with the (expected at this point) error code 1619.
java (1.8.0.05.13-4.1) urgency=high
-- Kevin Weis <kevin.weis@faw.de> 2014-04-17
......@@ -250,11 +292,11 @@ java (1.8.0.05.13-4.1) urgency=high
* change default of ProductProperty "WebJava-Security_Level" from "M" to "VH"
* 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; remove dead code and display fatal errors.
* automate get last version of Java 7 and 8 (StringList)
* 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; remove dead code and display fatal errors.
* automate get last version of Java 7 and 8 (StringList)
java (1.8.0-4) urgency=high
-- Kevin Weis <kevin.weis@faw.de> 2014-03-25.1933
......@@ -276,25 +318,25 @@ java (7.0.51-3) urgency=high
java (7.0.40-2.2) urgency=high
-- Kevin Weis <kevin.weis@faw.de> 2013-10-14.1009
update java version to 7.0.40
SetLogLevel=4
check_uninstall.ins:
add explicit declaration for >=java-7.0.10 of "GetRegistryStringValue32" and "GetRegistryStringValue64"
update java version to 7.0.40
SetLogLevel=4
check_uninstall.ins:
add explicit declaration for >=java-7.0.10 of "GetRegistryStringValue32" and "GetRegistryStringValue64"
java (7.0.25-2.1) urgency=high
-- Kevin Weis <kevin.weis@faw.de> 13:39 02.04.2013
* check_uninstall.ins:4-9
* check_uninstall.ins:4-9
java (7.0.17-2.1) urgency=high
-- Kevin Weis <kevin.weis@faw.de> 13:39 02.04.2013
- Bugfix bugfix = hing fest bei der Installation/Deinstallation
- Bugfix bugfix = hing fest bei der Installation/Deinstallation
java (7.0.9-2.0) urgency=high
-- Kevin Weis <kevin.weis@faw.de> 12:19 12.11.2012
- Umstellung auf MSI
- Automatische Entscheidung zwischen x86 und x64
- autoupdate = off
- Bugfix = hing fest bei der Installation/Deinstallation
- Umstellung auf MSI
- Automatische Entscheidung zwischen x86 und x64
- autoupdate = off
- Bugfix = hing fest bei der Installation/Deinstallation
java (7.0-7) testing; urgency=low
......
8287f4438e588abd6dfc2821600b3dc2 ./.gitignore
6703ba04b613205bcf8156ef3bba1703 ./jceCheck.jar
ba608e3cca46246fcb2a648d25e86a2c ./java_1.8.0.66.17-4.2.3.md5
49b3240e54254eec30b10fd3145e043c ./CLIENT_DATA/Sub_UpdateVariables.ins
fdebc26598421aabdfce2fce4af4225d ./CLIENT_DATA/check_msi-exitcode.ins
6ba8732ee34651cc8e33b4c7bd0061e6 ./CLIENT_DATA/uninstall.ins
bcd8f16f65b006b7b8b75af76db027b1 ./CLIENT_DATA/setup_data/License.txt
e0d398a62531b785cb9c1a028ceb4e43 ./CLIENT_DATA/setup_data/jdk-8u66-windows-x64.exe
843530f2c4d6cba7136c4eabe8cb01cf ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66/ss180660.cab
0f719357087d469a83cdd9ac95cd721c ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66/sj180660.cab
93c0b9e71c091fcf661e6e5be13a6a99 ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66/jdk1.8.0_66.msi
68c23b14854a15b13fbc31351c541005 ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66/st180660.cab
40595f12fd964f1129b74e968e195047 ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66/sz180660.cab
482e9c4f4e866e8aa0b5c036ce419a68 ./CLIENT_DATA/setup_data/msi/jre1.8.0_66/jre1.8.0_66.msi
585f5a92cad58779139138543db06eed ./CLIENT_DATA/setup_data/msi/jre1.8.0_66_x64/jre1.8.0_66.msi
2fb2d49fe8cea106b0c2897fd646398a ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66_x64/ss180660.cab
b5f83f49e4fe8f63a9c55a95cafc965d ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66_x64/sj180660.cab
e18c28697099a58df2a0f8b12d5478db ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66_x64/jdk1.8.0_66.msi
098fdeaaac51e475d3b67e2055277c4f ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66_x64/st180660.cab
0f1736a32b972d9374b89ec7dc0780b7 ./CLIENT_DATA/setup_data/msi/jdk1.8.0_66_x64/sz180660.cab