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/07/21 18:24] Kevin W. Removed JavaFX from TODO, it's already part of the JRE/JDK since Java 7u6 |
userspace:java-ng [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Java (java_1.8.0.05.13-4.2) ====== | + | ====== Java 8 (EOL) ====== |
**Feel free to contact me :)** | **Feel free to contact me :)** | ||
- | Tested with Opsi 4.0.4.5\\ | + | Tested with Debian 9\\ |
- | Tested with Windows 7 Enterprise x32, 8 Enterprise x64, 8.1 Pro x64\\ | + | Tested with Opsi 4.0.7.45\\ |
- | Tested with Java 6u10 - 8u5\\ | + | Tested with Winst 4.11.6.12\\ |
- | requiredWinstVersion >= 4.11.3\\ | + | Tested with Server 2016 x64\\ |
- | By [[kevinweis@gmx.de|Kevin Weis]] 2014-06-14\\ | + | 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 |
- | For an altanative, you can download only the parts you want to support; **see [[ #Custom install instuctions]]**\\ | + | Download: [[https://compilenix.org/public/opsi/localboot/ |
- | Download: [[https://dl.dropboxusercontent.com/u/27159788/static/ | + | Checksum' |
- | Download: [[https://dl.dropboxusercontent.com/u/27159788/static/java_1.8.0.05.13.7z | Setup binary´s - Java 8 (~ 516 MiB)]]\\ | + | |
- | Download: [[https:// | + | |
+ | Source Code: [[https:// | ||
+ | Check if you have the JCE installed: [[https:// | ||
- | Download: [[https://dl.dropboxusercontent.com/u/27159788/static/Winst.xml | my Notepad++ Syntax Highlighting]] | + | All downloads are pgp signed with:\\ |
+ | Compilenix < | ||
+ | Validity: from 2015-01-09 11:29 until forever or revoked\\ | ||
+ | Certificate type: 4,096-bit RSA\\ | ||
+ | Key-ID: E763633D\\ | ||
+ | Fingerprint: | ||
+ | https://compilenix.org/public/certificates/pgp/compilenix%40compilenix.org%20%280xE763633D%29.asc | ||
- | < | + | Download: my [[https:// |
- | Tree: | + | Download: my [[https:// |
- | |-- setup_data | + | |
- | | |-- msi | + | |
- | | | + | |
- | | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | |-- jdk-7u60-windows-i586.exe | + | |
- | | |-- jdk-7u60-windows-x64.exe | + | |
- | | |-- jdk-8u05-windows-i586.exe | + | |
- | | |-- jdk-8u05-windows-x64.exe | + | |
- | | |-- jre-7u60-windows-i586.exe | + | |
- | | |-- jre-7u60-windows-x64.exe | + | |
- | | |-- jre-8u05-windows-i586.exe | + | |
- | | |-- jre-8u05-windows-x64.exe | + | |
- | | |-- License.txt | + | |
- | | `-- License.url | + | |
- | |-- UnlimitedJCEPolicy | + | |
- | | |-- JCE_PATCHED | + | |
- | | |-- local_policy.jar | + | |
- | | |-- README.txt | + | |
- | | `-- US_export_policy.jar | + | |
- | |-- check_msi-exitcode.ins | + | |
- | |-- check_uninstall.ins | + | |
- | |-- delsub.ins | + | |
- | |-- java.png | + | |
- | |-- setup.ins | + | |
- | |-- Sub_UpdateVariables.ins | + | |
- | `-- uninstall.ins | + | |
- | </ | + | |
- | ==== What is does, and what not ==== | + | ===== What it does, and what not ===== |
It Does: | It Does: | ||
- | - Handle install and uninstall | + | - Handle install: x64 and x86, JRE and JDK |
- | - Installation of Java 7 or Java 8 | + | - Handle |
- | - Add the JCE Patch to every Java installation; | + | - Installation of Java 8 |
- | - Use the check_msi-exitcode script from " | + | - Add the JCE Patch to every Java installation; |
+ | - Use the check_msi-exitcode script from " | ||
It Does NOT: | It Does NOT: | ||
- 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 | - 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 | ||
- Uninstall Java JDK`s older then 1.7.0.0 | - Uninstall Java JDK`s older then 1.7.0.0 | ||
+ | - Un-/Install Java 9 | ||
- | ==== Notes ==== | + | ===== Notes ===== |
The package includes the MSI installer for the JRE and JDK x86, because if you want to install Java JRE/JDK x86 on a x64 System the EXE installer will " | The package includes the MSI installer for the JRE and JDK x86, because if you want to install Java JRE/JDK x86 on a x64 System the EXE installer will " | ||
Line 104: | Line 54: | ||
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!\\ | 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!\\ | ||
- | ==== Custom install instuctions | + | ===== TODO ===== |
- | If you want to support | + | - 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, | ||
- | ==== Change Log ==== | + | ===== Product Properties ===== |
< | < | ||
- | java (1.8.0.05.13-4.2) | ||
- | -- Kevin Weis < | ||
- | * 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. | ||
- | </ | ||
- | |||
- | ==== TODO ==== | ||
- | - ProductProperty " | ||
- | |||
- | |||
- | ==== DIFF ==== | ||
- | <code diff java_1.8.0-3.1.diff> | ||
- | diff -rN java_1.8.0.05.13-4.1/ | ||
- | 8c8 | ||
- | < Comment " | ||
- | --- | ||
- | > Comment ": " + $Temp_ExitCode$ + " Action completed successfully." | ||
- | 14c14 | ||
- | < Comment " | ||
- | --- | ||
- | > Comment ": " + $Temp_ExitCode$ + " ERROR_SUCCESS_REBOOT_INITIATED The installer has started a reboot. This error code Not available on Windows Installer version 1.0." | ||
- | 20c20 | ||
- | < Comment " | ||
- | --- | ||
- | > Comment ": " + $Temp_ExitCode$ + " ERROR_SUCCESS_REBOOT_REQUIRED A reboot is required to complete the install. This does Not include installs where the ForceReboot action is run. This error code Not available on Windows Installer version 1.0." | ||
- | 30c30 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_DATA The data is invalid." | ||
- | 38c38 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_PARAMETER One of the parameters was invalid." | ||
- | 46c46 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_CALL_NOT_IMPLEMENTED This function is Not available For this platform. It is only available on Windows 2000 And Windows XP with Window Installer version 2.0." | ||
- | 54c54 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_APPHELP_BLOCK This error code only occurs when using Windows Installer version 2.0 And Windows XP Or later. If Windows Installer determines a product may be incompatible with the current operating system, it displays a dialog informing the user And asking whether to try to install anyway. This error code is returned If the user chooses Not to try the installation." | ||
- | 62c62 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_SERVICE_FAILURE The Windows Installer service could Not be accessed. Contact your support personnel to verify that the Windows Installer service is properly registered." | ||
- | 70c70 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_USEREXIT User cancel installation." | ||
- | 78c78 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_FAILURE Fatal error during installation." | ||
- | 86c86 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_SUSPEND Installation suspended, incomplete." | ||
- | 94c94 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_PRODUCT This action is only valid For products that are currently installed." | ||
- | 102c102 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_FEATURE Feature ID Not registered." | ||
- | 110c110 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_COMPONENT Component ID Not registered." | ||
- | 118c118 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_PROPERTY Unknown property." | ||
- | 126c126 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_HANDLE_STATE Handle is In an invalid state." | ||
- | 134c134 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_BAD_CONFIGURATION The configuration data For this product is corrupt. Contact your support personnel." | ||
- | 142c142 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INDEX_ABSENT Component qualifier Not present." | ||
- | 150c150 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_SOURCE_ABSENT The installation source For this product is Not available. Verify that the source exists And that you can access it." | ||
- | 158c158 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_VERSION This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service." | ||
- | 166c166 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PRODUCT_UNINSTALLED Product is uninstalled." | ||
- | 174c174 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_BAD_QUERY_SYNTAX SQL query syntax invalid Or unsupported." | ||
- | 182c182 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_FIELD Record field does Not exist." | ||
- | 190c190 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_ALREADY_RUNNING Another installation is already In progress. Complete that installation before proceeding with this install." | ||
- | 198c198 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_OPEN_FAILED This installation package could Not be opened. Verify that the package exists And that you can access it, Or contact the application vendor to verify that this is a valid Windows Installer package." | ||
- | 206c206 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_INVALID This installation package could Not be opened. Contact the application vendor to verify that this is a valid Windows Installer package." | ||
- | 214c214 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_UI_FAILURE There was an error starting the Windows Installer service user interface. Contact your support personnel." | ||
- | 222c222 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_LOG_FAILURE Error opening installation log file. Verify that the specified log file location exists And is writable." | ||
- | 230c230 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_LANGUAGE_UNSUPPORTED This language of this installation package is Not supported by your system." | ||
- | 238c238 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_TRANSFORM_FAILURE Error applying transforms. Verify that the specified transform paths are valid." | ||
- | 246c246 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_REJECTED This installation is forbidden by system policy. Contact your system administrator." | ||
- | 254c254 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_FUNCTION_NOT_CALLED Function could Not be executed." | ||
- | 262c262 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_FUNCTION_FAILED Function failed during execution." | ||
- | 270c270 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_TABLE Invalid Or unknown table specified." | ||
- | 278c278 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_DATATYPE_MISMATCH Data supplied is of wrong type." | ||
- | 286c286 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNSUPPORTED_TYPE Data of this type is Not supported." | ||
- | 294c294 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_CREATE_FAILED The Windows Installer service failed to start. Contact your support personnel." | ||
- | 302c302 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_TEMP_UNWRITABLE The temp folder is either full Or inaccessible. Verify that the temp folder exists And that you can write to it." | ||
- | 310c310 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PLATFORM_UNSUPPORTED This installation package is Not supported on this platform. Contact your application vendor." | ||
- | 318c318 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_NOTUSED Component Not used on this machine" | ||
- | 326c326 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_OPEN_FAILED This patch package could Not be opened. Verify that the patch package exists And that you can access it, Or contact the application vendor to verify that this is a valid Windows Installer patch package." | ||
- | 334c334 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_INVALID This patch package could Not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package." | ||
- | 342c342 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_UNSUPPORTED This patch package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service." | ||
- | 350c350 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PRODUCT_VERSION Another version of this product is already installed. Installation of this version cannot continue. To configure Or remove the existing version of this product, use Add/Remove Programs on the Control Panel." | ||
- | 358c358 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_COMMAND_LINE Invalid command line argument. Consult the Windows Installer SDK For detailed command line help." | ||
- | 366c366 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_REMOTE_DISALLOWED Installation from a Terminal Server client session Not permitted For current user." | ||
- | 374c374 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_TARGET_NOT_FOUND The installer cannot install the upgrade patch because the program being upgraded may be missing Or the upgrade patch updates a different version of the program. Verify that the program to be upgraded exists on your computer And that you have the correct upgrade patch. This error code is Not available on Windows Installer version 1.0." | ||
- | 382c382 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_REJECTED The patch package is Not permitted by system policy. This error code is available with Windows Installer versions 2.0 Or later." | ||
- | 390c390 | ||
- | < Set $Temp_Message$ = " | ||
- | --- | ||
- | > Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_TRANSFORM_REJECTED One Or more customizations are Not permitted by system policy. This error code is available with Windows Installer versions 2.0 Or later." | ||
- | diff -rN java_1.8.0.05.13-4.1/ | ||
- | 68a69,75 | ||
- | > ; It Seems this one does only affect Java 7 JRE x64 and x86 | ||
- | > If ( " | ||
- | > Set $Temp_MsiDiff01$ = " | ||
- | > Else | ||
- | > Set $Temp_MsiDiff01$ = " | ||
- | > EndIf | ||
- | > | ||
- | 100c107 | ||
- | < Set $ProductDisplayName$ = GetRegistryStringValue ( " | ||
- | --- | ||
- | > Set $ProductDisplayName$ = GetRegistryStringValue ( " | ||
- | 103c110 | ||
- | < Set $Temp_Msi$ = " | ||
- | --- | ||
- | > Set $Temp_Msi$ = " | ||
- | 109c116 | ||
- | < Set $ProductDisplayName$ = GetRegistryStringValue32 ( " | ||
- | --- | ||
- | > Set $ProductDisplayName$ = GetRegistryStringValue32 ( " | ||
- | 112c119 | ||
- | < Set $Temp_Msi$ = " | ||
- | --- | ||
- | > Set $Temp_Msi$ = " | ||
- | 117c124 | ||
- | < Set $ProductDisplayName$ = GetRegistryStringValue64 ( " | ||
- | --- | ||
- | > Set $ProductDisplayName$ = GetRegistryStringValue64 ( " | ||
- | 120c127 | ||
- | < Set $Temp_Msi$ = " | ||
- | --- | ||
- | > Set $Temp_Msi$ = " | ||
- | diff -rN java_1.8.0.05.13-4.1/ | ||
- | 5a6 | ||
- | > KillTask " | ||
- | 11a13 | ||
- | > ; Set Timeout in case of an hangup while deinstalling | ||
- | diff -rN java_1.8.0.05.13-4.1/ | ||
- | 39a40 | ||
- | > DefVar $ProductProperty_32bitOnly$ | ||
- | 48a50 | ||
- | > DefVar $Temp_MsiDiff01$ | ||
- | 56c58 | ||
- | < Set $StringList_Java6$ = CreateStringList ( ' | ||
- | --- | ||
- | > Set $StringList_Java6$ = CreateStringList ( ' | ||
- | 59c61 | ||
- | < Set $StringList_Java7$ = CreateStringList ( ' | ||
- | --- | ||
- | > Set $StringList_Java7$ = CreateStringList ( ' | ||
- | 74,78c76,81 | ||
- | < Set $ProductProperty_Java-Updater$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_VM-Type$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_Version$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_WebJava$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_WebJava-Security_Level$ = GetProductProperty ( " | ||
- | --- | ||
- | > Set $ProductProperty_Java-Updater$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_VM-Type$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_Version$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_WebJava$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_WebJava-Security_Level$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_32bitOnly$ = GetProductProperty ( " | ||
- | 122c125 | ||
- | < ShowBitMap /3 " | ||
- | --- | ||
- | > ShowBitMap " | ||
- | 158c161,162 | ||
- | < | ||
- | --- | ||
- | > If $ProductProperty_32bitOnly$ = " | ||
- | > Message " | ||
- | 169c173 | ||
- | < | ||
- | --- | ||
- | > | ||
- | 172a177 | ||
- | > EndIf | ||
- | 174, | ||
- | < Message " | ||
- | < If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ ) | ||
- | < SetLogLevel = 6 | ||
- | < WinBatch_install_x86 / | ||
- | < SetLogLevel = 1 | ||
- | < Sub " | ||
- | < Else | ||
- | < LogWarning "File not found: " + $exePath$ + $exe_32$ | ||
- | < EndIf | ||
- | --- | ||
- | > Message " | ||
- | > If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ ) | ||
- | > SetLogLevel = 6 | ||
- | > WinBatch_install_x86 / | ||
- | > SetLogLevel = $DefaultLogLevel$ | ||
- | > Else | ||
- | > LogWarning "File not found: " + $exePath$ + $exe_32$ | ||
- | > EndIf | ||
- | > | ||
- | > ; Installation of Java x86 at a x64 system envirement does " | ||
- | > Set $Temp_ExitCode$ = GetLastExitCode | ||
- | > If $Temp_ExitCode$ = " | ||
- | > Comment " | ||
- | > SetLogLevel = 5 | ||
- | > Files_delete_broken_x86_x64 /32Bit | ||
- | > SetLogLevel = 1 | ||
- | 184, | ||
- | < ; Installation of Java x86 at a x64 system envirement does " | ||
- | < Set $Temp_ExitCode$ = GetLastExitCode | ||
- | < If $Temp_ExitCode$ = " | ||
- | < Comment " | ||
- | < SetLogLevel = 5 | ||
- | < Files_delete_broken_x86_x64 /32Bit | ||
- | < SetLogLevel = 1 | ||
- | < Sub " | ||
- | < | ||
- | < Message " | ||
- | < If $ProductProperty_VM-Type$ = " | ||
- | < If FileExists ( $PathSetup_Data$ + $PathSetup_Msi32$ ) | ||
- | < SetLogLevel = 6 | ||
- | < WinBatch_install_x86_64_UseMSI / | ||
- | < SetLogLevel = 1 | ||
- | < Sub " | ||
- | < 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$ = " | ||
- | --- | ||
- | > Message " | ||
- | > If $ProductProperty_VM-Type$ = " | ||
- | 217c206 | ||
- | < IsFatalError "File not found: " + $PathSetup_Data$ + $PathSetup_Msi32$ | ||
- | --- | ||
- | > IsFatalError "File not found: " + $exePath$ + $msi32$ | ||
- | 219,223d207 | ||
- | < | ||
- | < ; Reset changed variables | ||
- | < Sub " | ||
- | < Else | ||
- | < Sub " | ||
- | 225, | ||
- | < If $ProductProperty_Java-Updater$ = " | ||
- | < Registry_disable_update /32Bit | ||
- | --- | ||
- | > | ||
- | > ; 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$ = " | ||
- | > If FileExists ( $PathSetup_Data$ + $PathSetup_Msi32$ ) | ||
- | > SetLogLevel = 6 | ||
- | > WinBatch_install_x86_64_UseMSI / | ||
- | > SetLogLevel = 1 | ||
- | > Sub " | ||
- | > 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$ | ||
- | 227a222,230 | ||
- | > | ||
- | > ; Reset changed variables | ||
- | > Sub " | ||
- | > Else | ||
- | > Sub " | ||
- | > EndIf | ||
- | > If $ProductProperty_Java-Updater$ = " | ||
- | > Registry_disable_update /32Bit | ||
- | > EndIf | ||
- | 252c255 | ||
- | < If $ProcessorArchitecture$ = "64 Bit System" | ||
- | --- | ||
- | > If $ProcessorArchitecture$ = "64 Bit System" | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | Binary files java_1.8.0.05.13-4.1/ | ||
- | diff -rN java_1.8.0.05.13-4.1/ | ||
- | 39a40 | ||
- | > DefVar $ProductProperty_32bitOnly$ | ||
- | 45a47 | ||
- | > DefVar $Temp_MicrosoftWindowsVersionRequiredName$ | ||
- | 47a50 | ||
- | > DefVar $Temp_MsiDiff01$ | ||
- | 55c58 | ||
- | < Set $StringList_Java6$ = CreateStringList ( ' | ||
- | --- | ||
- | > Set $StringList_Java6$ = CreateStringList ( ' | ||
- | 58c61 | ||
- | < Set $StringList_Java7$ = CreateStringList ( ' | ||
- | --- | ||
- | > Set $StringList_Java7$ = CreateStringList ( ' | ||
- | 68c71 | ||
- | < Set $IsUninstall$ = " | ||
- | --- | ||
- | > Set $IsUninstall$ = " | ||
- | 73,77c76,81 | ||
- | < Set $ProductProperty_Java-Updater$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_VM-Type$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_Version$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_WebJava$ = GetProductProperty ( " | ||
- | < Set $ProductProperty_WebJava-Security_Level$ = GetProductProperty ( " | ||
- | --- | ||
- | > Set $ProductProperty_Java-Updater$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_VM-Type$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_Version$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_WebJava$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_WebJava-Security_Level$ = GetProductProperty ( " | ||
- | > Set $ProductProperty_32bitOnly$ = GetProductProperty ( " | ||
- | 118c122 | ||
- | < Set $Arguments_Exe$ = "/s " + $ProductProperty_WebJava$ + " " + $ProductProperty_WebJava-Security_Level$ | ||
- | --- | ||
- | > Set $Arguments_Exe$ = "/s " + $ProductProperty_WebJava$ + " " + $ProductProperty_WebJava-Security_Level$ + " STATIC=0" | ||
- | 121c125 | ||
- | < ShowBitMap /3 " | ||
- | --- | ||
- | > ShowBitMap " | ||
- | diff -rN java_1.8.0.05.13-4.1/ | ||
- | 2c2 | ||
- | < version: 4.1 | ||
- | --- | ||
- | > version: 4.2 | ||
- | 11c11 | ||
- | < advice: | ||
- | --- | ||
- | > advice: Tested with Opsi 4.0.4.5 and on Win 8.1 x64 and Win 7 x86 | ||
- | 38c38 | ||
- | < description: | ||
- | --- | ||
- | > description: | ||
- | 65c65 | ||
- | < description: | ||
- | --- | ||
- | > description: | ||
- | 68a69,77 | ||
- | > [ProductProperty] | ||
- | > type: unicode | ||
- | > name: 32bitonly | ||
- | > multivalue: False | ||
- | > editable: False | ||
- | > description: | ||
- | > values: [" | ||
- | > default: [" | ||
- | > | ||
- | 69a79,88 | ||
- | > java (1.8.0.05.13-4.2) | ||
- | > -- Kevin Weis < | ||
- | > * 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. | ||
- | > | ||
- | > | ||
- | 77c96 | ||
- | < * NOTE: I´m using the JCE patch for Java 8, this work for Java 7 too (tested, no unwanted behaviour with SHA384, SHA512 and AES192, AES256) | ||
- | --- | ||
- | > * 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) | ||
- | |||
- | </ | ||
- | |||
- | ===== control ===== | ||
- | <code winst control.txt> | ||
- | [Package] | ||
- | version: 4.2 | ||
- | depends: | ||
- | incremental: | ||
- | |||
- | [Product] | ||
- | type: localboot | ||
- | id: java | ||
- | name: Java | ||
- | description: | ||
- | advice: Tested with Opsi 4.0.4.5 and on Win 8.1 x64 and Win 7 x86 | ||
- | version: 1.8.0.05.13 | ||
- | priority: -95 | ||
- | licenseRequired: | ||
- | productClasses: | ||
- | setupScript: | ||
- | uninstallScript: | ||
- | updateScript: | ||
- | alwaysScript: | ||
- | onceScript: | ||
- | customScript: | ||
- | userLoginScript: | ||
- | |||
[ProductProperty] | [ProductProperty] | ||
type: unicode | type: unicode | ||
- | name: version | + | name: vm-type |
multivalue: False | multivalue: False | ||
editable: False | editable: False | ||
- | description: | + | description: |
- | values: ["7", "8"] | + | values: ["jdk", "jre"] |
- | default: ["8"] | + | default: ["jre"] |
[ProductProperty] | [ProductProperty] | ||
type: unicode | type: unicode | ||
- | name: vm-type | + | name: patchjce |
multivalue: False | multivalue: False | ||
editable: False | editable: False | ||
- | description: | + | description: |
- | values: ["jdk", "jre"] | + | values: ["Off", "On"] |
- | default: ["jre"] | + | default: ["On"] |
[ProductProperty] | [ProductProperty] | ||
Line 698: | Line 115: | ||
default: [" | default: [" | ||
- | [Changelog] | + | [ProductProperty] |
+ | type: unicode | ||
+ | name: 64bitonly | ||
+ | multivalue: False | ||
+ | editable: False | ||
+ | description: | ||
+ | values: [" | ||
+ | |||
+ | [ProductProperty] | ||
+ | type: unicode | ||
+ | name: updatebranch | ||
+ | multivalue: False | ||
+ | editable: False | ||
+ | description: | ||
+ | values: [" | ||
+ | default: [" | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Changelog ===== | ||
+ | <code control.txt> | ||
+ | java (1.8.0.202-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.192-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.181-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.172-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.162-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.152-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.144-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.141-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.131-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.121-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.112-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.102-4.2.5) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | * update/ | ||
+ | |||
+ | java (1.8.0.92-4.2.4) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.77.3-4.2.4) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.74.2-4.2.4) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.72.15-4.2.4) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | * add Product " | ||
+ | * add Product Property " | ||
+ | |||
+ | java (1.8.0.66.17-4.2.3) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.60.27-4.2.3) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.51.16-4.2.3) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.45.14-4.2.3) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.40.26-4.2.3) | ||
+ | -- Kevin Weis < | ||
+ | * fixed: installation of Java JRE x86 on a x64 OS does not work (exit code 3) | ||
+ | |||
+ | java (1.8.0.40.26-4.2.2) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.31.13-4.2.2) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | |||
+ | java (1.8.0.25.18-4.2.2) | ||
+ | -- Kevin Weis < | ||
+ | * update | ||
+ | * add ProductProperty " | ||
+ | * Java 7 setup support droped (uninstalling of future Java 7 versions are still supported) | ||
+ | |||
+ | java (1.8.0.11.12-4.2.1) | ||
+ | -- Kevin Weis < | ||
+ | * update; Java 1.0.7.65 build 19 to 1.0.7.67 build 1 | ||
+ | |||
+ | java (1.8.0.11.12-4.2) | ||
+ | -- Kevin Weis < | ||
+ | * update; Java 1.0.7.60 build 19 to 1.0.7.65 build 19 | ||
java (1.8.0.05.13-4.2) | java (1.8.0.05.13-4.2) | ||
-- Kevin Weis < | -- Kevin Weis < | ||
Line 706: | Line 252: | ||
Minor changes: | Minor changes: | ||
* add killing Opera.exe, before in-/ | * add killing Opera.exe, before in-/ | ||
- | * 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 | java (1.8.0.05.13-4.1) urgency=high | ||
Line 719: | Line 264: | ||
Minor changes: | Minor changes: | ||
* Apply new variables nomination | * 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. | + | * If some fatal error occours, the error will now be displayed (as a Message), too. |
- | * clean up check_msi-exitcode; | + | * clean up check_msi-exitcode; |
- | * automate get last version of Java 7 and 8 (StringList) | + | * automate get last version of Java 7 and 8 (StringList) |
java (1.8.0-4) urgency=high | java (1.8.0-4) urgency=high | ||
Line 735: | Line 279: | ||
see also: http:// | see also: http:// | ||
- | |||
java (7.0.51-3) urgency=high | java (7.0.51-3) urgency=high | ||
Line 743: | Line 286: | ||
* find installed versions of JRE now by using a for loop (supporting deinstallation since java 6u10 x64 and x32) | * find installed versions of JRE now by using a for loop (supporting deinstallation since java 6u10 x64 and x32) | ||
* serval other little impovments | * serval other little impovments | ||
- | |||
java (7.0.40-2.2) urgency=high | java (7.0.40-2.2) urgency=high | ||
Line 751: | Line 293: | ||
check_uninstall.ins: | check_uninstall.ins: | ||
add explicit declaration for > | add explicit declaration for > | ||
- | |||
java (7.0.25-2.1) urgency=high | java (7.0.25-2.1) urgency=high | ||
-- Kevin Weis < | -- Kevin Weis < | ||
* check_uninstall.ins: | * check_uninstall.ins: | ||
- | |||
java (7.0.17-2.1) urgency=high | java (7.0.17-2.1) urgency=high | ||
-- Kevin Weis < | -- Kevin Weis < | ||
- Bugfix bugfix = hing fest bei der Installation/ | - Bugfix bugfix = hing fest bei der Installation/ | ||
- | |||
java (7.0.9-2.0) urgency=high | java (7.0.9-2.0) urgency=high | ||
Line 769: | Line 308: | ||
- autoupdate = off | - autoupdate = off | ||
- Bugfix = hing fest bei der Installation/ | - Bugfix = hing fest bei der Installation/ | ||
- | |||
java (7.0-7) testing; urgency=low | java (7.0-7) testing; urgency=low | ||
- | |||
java (7.0-4) testing; urgency=low | java (7.0-4) testing; urgency=low | ||
-- Kevin Weis < | -- Kevin Weis < | ||
* Initial package | * Initial package | ||
- | |||
- | </ | ||
- | |||
- | ===== check_msi-exitcode.ins ===== | ||
- | <code winst check_msi-exitcode.ins> | ||
- | SetLogLevel = 1 | ||
- | Set $Temp_ExitCode$ = GetLastExitCode | ||
- | Set $Temp_Message$ = "" | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Comment ": " + $Temp_ExitCode$ + " Action completed successfully." | ||
- | SetLogLevel = 1 | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Comment ": " + $Temp_ExitCode$ + " ERROR_SUCCESS_REBOOT_INITIATED The installer has started a reboot. This error code Not available on Windows Installer version 1.0." | ||
- | SetLogLevel = 1 | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Comment ": " + $Temp_ExitCode$ + " ERROR_SUCCESS_REBOOT_REQUIRED A reboot is required to complete the install. This does Not include installs where the ForceReboot action is run. This error code Not available on Windows Installer version 1.0." | ||
- | SetLogLevel = 1 | ||
- | EndIf | ||
- | |||
- | |||
- | Else | ||
- | |||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_DATA The data is invalid." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_PARAMETER One of the parameters was invalid." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_CALL_NOT_IMPLEMENTED This function is Not available For this platform. It is only available on Windows 2000 And Windows XP with Window Installer version 2.0." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_APPHELP_BLOCK This error code only occurs when using Windows Installer version 2.0 And Windows XP Or later. If Windows Installer determines a product may be incompatible with the current operating system, it displays a dialog informing the user And asking whether to try to install anyway. This error code is returned If the user chooses Not to try the installation." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_SERVICE_FAILURE The Windows Installer service could Not be accessed. Contact your support personnel to verify that the Windows Installer service is properly registered." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_USEREXIT User cancel installation." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_FAILURE Fatal error during installation." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_SUSPEND Installation suspended, incomplete." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_PRODUCT This action is only valid For products that are currently installed." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_FEATURE Feature ID Not registered." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_COMPONENT Component ID Not registered." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNKNOWN_PROPERTY Unknown property." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_HANDLE_STATE Handle is In an invalid state." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_BAD_CONFIGURATION The configuration data For this product is corrupt. Contact your support personnel." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INDEX_ABSENT Component qualifier Not present." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_SOURCE_ABSENT The installation source For this product is Not available. Verify that the source exists And that you can access it." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_VERSION This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PRODUCT_UNINSTALLED Product is uninstalled." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_BAD_QUERY_SYNTAX SQL query syntax invalid Or unsupported." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_FIELD Record field does Not exist." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_ALREADY_RUNNING Another installation is already In progress. Complete that installation before proceeding with this install." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_OPEN_FAILED This installation package could Not be opened. Verify that the package exists And that you can access it, Or contact the application vendor to verify that this is a valid Windows Installer package." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_INVALID This installation package could Not be opened. Contact the application vendor to verify that this is a valid Windows Installer package." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_UI_FAILURE There was an error starting the Windows Installer service user interface. Contact your support personnel." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_LOG_FAILURE Error opening installation log file. Verify that the specified log file location exists And is writable." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_LANGUAGE_UNSUPPORTED This language of this installation package is Not supported by your system." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_TRANSFORM_FAILURE Error applying transforms. Verify that the specified transform paths are valid." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PACKAGE_REJECTED This installation is forbidden by system policy. Contact your system administrator." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_FUNCTION_NOT_CALLED Function could Not be executed." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_FUNCTION_FAILED Function failed during execution." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_TABLE Invalid Or unknown table specified." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_DATATYPE_MISMATCH Data supplied is of wrong type." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_UNSUPPORTED_TYPE Data of this type is Not supported." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_CREATE_FAILED The Windows Installer service failed to start. Contact your support personnel." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_TEMP_UNWRITABLE The temp folder is either full Or inaccessible. Verify that the temp folder exists And that you can write to it." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_PLATFORM_UNSUPPORTED This installation package is Not supported on this platform. Contact your application vendor." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_NOTUSED Component Not used on this machine" | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_OPEN_FAILED This patch package could Not be opened. Verify that the patch package exists And that you can access it, Or contact the application vendor to verify that this is a valid Windows Installer patch package." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_INVALID This patch package could Not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_UNSUPPORTED This patch package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PRODUCT_VERSION Another version of this product is already installed. Installation of this version cannot continue. To configure Or remove the existing version of this product, use Add/Remove Programs on the Control Panel." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INVALID_COMMAND_LINE Invalid command line argument. Consult the Windows Installer SDK For detailed command line help." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_REMOTE_DISALLOWED Installation from a Terminal Server client session Not permitted For current user." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_TARGET_NOT_FOUND The installer cannot install the upgrade patch because the program being upgraded may be missing Or the upgrade patch updates a different version of the program. Verify that the program to be upgraded exists on your computer And that you have the correct upgrade patch. This error code is Not available on Windows Installer version 1.0." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_PATCH_PACKAGE_REJECTED The patch package is Not permitted by system policy. This error code is available with Windows Installer versions 2.0 Or later." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | |||
- | If ( $Temp_ExitCode$ = " | ||
- | SetLogLevel = 5 | ||
- | Set $Temp_Message$ = ": " + $Temp_ExitCode$ + " ERROR_INSTALL_TRANSFORM_REJECTED One Or more customizations are Not permitted by system policy. This error code is available with Windows Installer versions 2.0 Or later." | ||
- | Message "Fatal error: " + $Temp_Message$ | ||
- | LogError $Temp_Message$ | ||
- | IsFatalError $Temp_Message$ | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | SetLogLevel = $DefaultLogLevel$ | ||
- | |||
- | </ | ||
- | |||
- | ===== check_uninstal.ins ===== | ||
- | <code winst check_uninstal.ins> | ||
- | SetLogLevel = 2 | ||
- | |||
- | For $x$ In $StringList_Java6$ Do Sub_Uninstall_6 | ||
- | For $x$ In $StringList_Java7$ Do Sub_Uninstall_7 | ||
- | For $x$ In $StringList_Java8$ Do Sub_Uninstall_8 | ||
- | |||
- | SetLogLevel = $DefaultLogLevel$ | ||
- | |||
- | ; Reset changed variables | ||
- | Sub " | ||
- | |||
- | [Sub_Uninstall_6] | ||
- | Message " | ||
- | If $ProcessorArchitecture$ = "x86 System" | ||
- | If ( " | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | Else | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | EndIf | ||
- | |||
- | Set $ProductDisplayName$ = GetRegistryStringValue ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | If $ProcessorArchitecture$ = "64 Bit System" | ||
- | If ( " | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | Else | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | EndIf | ||
- | |||
- | Set $ProductDisplayName$ = GetRegistryStringValue32 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | |||
- | If ( " | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | Else | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue64 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | |||
- | |||
- | |||
- | [Sub_Uninstall_7] | ||
- | |||
- | If ( " | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | Else | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | EndIf | ||
- | |||
- | ; It Seems this one does only affect Java 7 JRE x64 and x86 | ||
- | If ( " | ||
- | Set $Temp_MsiDiff01$ = " | ||
- | Else | ||
- | Set $Temp_MsiDiff01$ = " | ||
- | EndIf | ||
- | |||
- | |||
- | Message " | ||
- | If $ProcessorArchitecture$ = "x86 System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | If $ProcessorArchitecture$ = "64 Bit System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue32 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue64 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | |||
- | Message " | ||
- | If $ProcessorArchitecture$ = "x86 System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | If $ProcessorArchitecture$ = "64 Bit System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue32 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue64 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | |||
- | |||
- | |||
- | [Sub_Uninstall_8] | ||
- | |||
- | ; TODO check on every update | ||
- | If ( " | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | Else | ||
- | Set $Temp_MsiSuffix$ = " | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | If $ProcessorArchitecture$ = "x86 System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | If $ProcessorArchitecture$ = "64 Bit System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue32 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue64 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | |||
- | Message " | ||
- | If $ProcessorArchitecture$ = "x86 System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | If $ProcessorArchitecture$ = "64 Bit System" | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue32 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | Set $ProductDisplayName$ = GetRegistryStringValue64 ( " | ||
- | If Not ( $ProductDisplayName$ = "" | ||
- | Message " | ||
- | Set $Temp_Msi$ = " | ||
- | Sub " | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | </ | ||
- | |||
- | ===== setup.ins ===== | ||
- | <code winst setup.ins> | ||
- | [Initial] | ||
- | SetLogLevel = 5 | ||
- | ExitOnError = True | ||
- | ScriptErrorMessages = Off | ||
- | TraceMode = Off | ||
- | StayOnTop = False | ||
- | |||
- | [Actions] | ||
- | RequiredWinstVersion >= " | ||
- | Message " | ||
- | DefStringList $StringList_Java6$ | ||
- | DefStringList $StringList_Java7$ | ||
- | DefStringList $StringList_Java8$ | ||
- | DefVar $Argument_Msi_AutoUpdateCheck$ | ||
- | DefVar $Argument_Msi_IExplorer$ | ||
- | DefVar $Argument_Msi_Ju$ | ||
- | DefVar $Argument_Msi_Mozilla$ | ||
- | DefVar $Argument_Msi_SysTray$ | ||
- | DefVar $Arguments_Exe$ | ||
- | DefVar $Arguments_Msi$ | ||
- | DefVar $DefaultLogLevel$ | ||
- | DefVar $IsUninstall$ | ||
- | DefVar $MicrosoftWindowsVersion$ | ||
- | DefVar $MinimumSpace$ | ||
- | DefVar $PathSetup_Data$ | ||
- | DefVar $PathSetup_Exe32$ | ||
- | DefVar $PathSetup_Exe64$ | ||
- | DefVar $PathSetup_Msi32$ | ||
- | DefVar $ProcessorArchitecture$ | ||
- | DefVar $ProductDisplayName$ | ||
- | DefVar $ProductDisplayVersion$ | ||
- | DefVar $ProductDisplayVersion_x32$ | ||
- | DefVar $ProductDisplayVersion_x64$ | ||
- | DefVar $ProductName$ | ||
- | DefVar $ProductProperty_Java-Updater$ | ||
- | DefVar $ProductProperty_Version$ | ||
- | DefVar $ProductProperty_VM-Type$ | ||
- | DefVar $ProductProperty_WebJava$ | ||
- | DefVar $ProductProperty_WebJava-Security_Level$ | ||
- | DefVar $ProductProperty_32bitOnly$ | ||
- | DefVar $ProductVersion$ | ||
- | DefVar $RegistryPath$ | ||
- | DefVar $RegistryPath_x64$ | ||
- | DefVar $Temp_ExitCode$ | ||
- | DefVar $Temp_Message$ | ||
- | DefVar $Temp_MicrosoftWindowsVersionRequired$ | ||
- | DefVar $Temp_MicrosoftWindowsVersionRequiredName$ | ||
- | DefVar $Temp_Msi$ | ||
- | DefVar $Temp_MsiSuffix$ | ||
- | DefVar $Temp_MsiDiff01$ | ||
- | DefVar $UninstallCommand$ | ||
- | DefVar $UpdateVersion7$ | ||
- | DefVar $UpdateVersion8$ | ||
- | |||
- | Set $ProductName$ = " | ||
- | |||
- | ; https:// | ||
- | Set $StringList_Java6$ = CreateStringList ( ' | ||
- | |||
- | ; https:// | ||
- | Set $StringList_Java7$ = CreateStringList ( ' | ||
- | |||
- | ; https:// | ||
- | Set $StringList_Java8$ = CreateStringList ( ' | ||
- | |||
- | ; Get last update version | ||
- | Set $UpdateVersion7$ = TakeString ( -1, $StringList_Java7$ ) | ||
- | Set $UpdateVersion8$ = TakeString ( -1, $StringList_Java8$ ) | ||
- | |||
- | Set $DefaultLogLevel$ = " | ||
- | Set $IsUninstall$ = " | ||
- | Set $MicrosoftWindowsVersion$ = GetMsVersionInfo | ||
- | Set $MinimumSpace$ = "248 MB" | ||
- | Set $PathSetup_Data$ = " | ||
- | Set $ProcessorArchitecture$ = GetSystemType | ||
- | Set $ProductProperty_Java-Updater$ = GetProductProperty ( " | ||
- | Set $ProductProperty_VM-Type$ = GetProductProperty ( " | ||
- | Set $ProductProperty_Version$ = GetProductProperty ( " | ||
- | Set $ProductProperty_WebJava$ = GetProductProperty ( " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = GetProductProperty ( " | ||
- | Set $ProductProperty_32bitOnly$ = GetProductProperty ( " | ||
- | Set $RegistryPath$ = " | ||
- | Set $RegistryPath_x64$ = " | ||
- | Set $Temp_MsiSuffix$ = "" | ||
- | |||
- | ; Reset changed variables | ||
- | Sub " | ||
- | |||
- | ; Parse selected ProductPropertys and generate installation argument list | ||
- | If $ProductProperty_WebJava$ = " | ||
- | Set $ProductProperty_WebJava$ = " | ||
- | Set $Argument_Msi_IExplorer$ = " | ||
- | Set $Argument_Msi_Mozilla$ = " | ||
- | Else | ||
- | Set $ProductProperty_WebJava$ = " | ||
- | Set $Argument_Msi_IExplorer$ = " | ||
- | Set $Argument_Msi_Mozilla$ = " | ||
- | EndIf | ||
- | |||
- | If $ProductProperty_WebJava-Security_Level$ = " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = " | ||
- | EndIf | ||
- | If $ProductProperty_WebJava-Security_Level$ = " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = " | ||
- | EndIf | ||
- | If $ProductProperty_WebJava-Security_Level$ = " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = " | ||
- | EndIf | ||
- | |||
- | If $ProductProperty_Java-Updater$ = " | ||
- | Set $Argument_Msi_SysTray$ = " | ||
- | Set $ProductProperty_Java-Updater$ = " | ||
- | Set $Argument_Msi_Ju$ = " | ||
- | Set $Argument_Msi_AutoUpdateCheck$ = " | ||
- | Else | ||
- | Set $Argument_Msi_SysTray$ = " | ||
- | Set $ProductProperty_Java-Updater$ = " | ||
- | Set $Argument_Msi_Ju$ = " | ||
- | Set $Argument_Msi_AutoUpdateCheck$ = " | ||
- | EndIf | ||
- | |||
- | Set $Arguments_Exe$ = "/s " + $ProductProperty_WebJava$ + " " + $ProductProperty_WebJava-Security_Level$ + " STATIC=0" | ||
- | Set $Arguments_Msi$ = "/qb! REBOOT=ReallySuppess " + $Argument_Msi_IExplorer$ + " " + $Argument_Msi_Mozilla$ + " " + $Argument_Msi_SysTray$ + " " + $ProductProperty_Java-Updater$ + " " + $Argument_Msi_Ju$ + " " + $Argument_Msi_AutoUpdateCheck$ | ||
- | |||
- | ShowBitMap " | ||
- | SetLogLevel = $DefaultLogLevel$ | ||
- | |||
- | If $ProductProperty_Version$ = " | ||
- | Set $Temp_MicrosoftWindowsVersionRequired$ = " | ||
- | Set $Temp_MicrosoftWindowsVersionRequiredName$ = " | ||
- | Else | ||
- | Set $Temp_MicrosoftWindowsVersionRequired$ = " | ||
- | Set $Temp_MicrosoftWindowsVersionRequiredName$ = " | ||
- | EndIf | ||
- | If $MicrosoftWindowsVersion$ < $Temp_MicrosoftWindowsVersionRequired$ | ||
- | Message "Fatal error: Minimum Windows " + $Temp_MicrosoftWindowsVersionRequiredName$ + " is required for " + $ProductName$ + " " + $ProductProperty_Version$ | ||
- | LogError " | ||
- | IsFatalError " | ||
- | EndIf | ||
- | |||
- | If Not ( HasMinimumSpace ( " | ||
- | Message "Fatal error: Not enough space on %SystemDrive%, | ||
- | LogError "Not enough space on %SystemDrive%, | ||
- | IsFatalError "Not enough space on %SystemDrive%, | ||
- | EndIf | ||
- | |||
- | Sub " | ||
- | |||
- | KillTask " | ||
- | KillTask " | ||
- | KillTask " | ||
- | KillTask " | ||
- | KillTask " | ||
- | KillTask " | ||
- | |||
- | ; ############################################################################################################################################# | ||
- | ; ################################################################### | ||
- | ; ############################################################################################################################################# | ||
- | |||
- | If $ProcessorArchitecture$ = "64 Bit System" | ||
- | If $ProductProperty_32bitOnly$ = " | ||
- | Message " | ||
- | If FileExists ( $PathSetup_Data$ + $PathSetup_Exe64$ ) | ||
- | SetLogLevel = 6 | ||
- | WinBatch_install_x64 / | ||
- | SetLogLevel = 1 | ||
- | Sub " | ||
- | Else | ||
- | Message "Fatal error: File not found: " + $PathSetup_Data$ + $PathSetup_Exe64$ | ||
- | LogError "File not found: " + $PathSetup_Data$ + $PathSetup_Exe64$ | ||
- | IsFatalError "File not found: " + $exePath$ + $exe_64$ | ||
- | EndIf | ||
- | |||
- | If $ProductProperty_Java-Updater$ = " | ||
- | Registry_disable_update /64Bit | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ ) | ||
- | SetLogLevel = 6 | ||
- | WinBatch_install_x86 / | ||
- | SetLogLevel = $DefaultLogLevel$ | ||
- | Else | ||
- | LogWarning "File not found: " + $exePath$ + $exe_32$ | ||
- | EndIf | ||
- | |||
- | ; Installation of Java x86 at a x64 system envirement does " | ||
- | Set $Temp_ExitCode$ = GetLastExitCode | ||
- | If $Temp_ExitCode$ = " | ||
- | Comment " | ||
- | SetLogLevel = 5 | ||
- | Files_delete_broken_x86_x64 /32Bit | ||
- | SetLogLevel = 1 | ||
- | |||
- | Message " | ||
- | If $ProductProperty_VM-Type$ = " | ||
- | If FileExists ( $PathSetup_Data$ + $PathSetup_Msi32$ ) | ||
- | SetLogLevel = 6 | ||
- | WinBatch_install_x86_64_UseMSI / | ||
- | SetLogLevel = 1 | ||
- | Sub " | ||
- | 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$ = " | ||
- | If FileExists ( $PathSetup_Data$ + $PathSetup_Msi32$ ) | ||
- | SetLogLevel = 6 | ||
- | WinBatch_install_x86_64_UseMSI / | ||
- | SetLogLevel = 1 | ||
- | Sub " | ||
- | 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$ | ||
- | EndIf | ||
- | |||
- | ; Reset changed variables | ||
- | Sub " | ||
- | Else | ||
- | Sub " | ||
- | EndIf | ||
- | If $ProductProperty_Java-Updater$ = " | ||
- | Registry_disable_update /32Bit | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | ; ############################################################################################################################################# | ||
- | ; ################################################################### | ||
- | ; ############################################################################################################################################# | ||
- | |||
- | If $ProcessorArchitecture$ = "x86 System" | ||
- | Message " | ||
- | If FileExists ( $PathSetup_Data$ + $PathSetup_Exe32$ ) | ||
- | SetLogLevel = 6 | ||
- | WinBatch_install_x86 / | ||
- | SetLogLevel = 1 | ||
- | Sub " | ||
- | 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$ = " | ||
- | Registry_disable_update /32Bit | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | ; Patch JCE | ||
- | If $ProcessorArchitecture$ = "64 Bit System" | ||
- | If FileExists ( " | ||
- | Message "Apply patch For JCE (Java Cryptography Extension)" | ||
- | If $ProductProperty_VM-Type$ = " | ||
- | Files_patch_JCE_JDK_x64 | ||
- | EndIf | ||
- | If $ProductProperty_VM-Type$ = " | ||
- | LogWarning "NOT Patching JCE for x64 JDK; File not found: %ProgramFiles64Dir%\Java\jdk" | ||
- | EndIf | ||
- | Files_patch_JCE_JRE_x64 | ||
- | Else | ||
- | LogWarning "NOT Patching JCE for x64 JRE and JDK; File not found: %ProgramFiles64Dir%\Java\jre" | ||
- | EndIf | ||
- | EndIf | ||
- | |||
- | If FileExists ( " | ||
- | Message "Apply patch For JCE (Java Cryptography Extension)" | ||
- | If $ProductProperty_VM-Type$ = " | ||
- | Files_patch_JCE_JDK_x86 | ||
- | EndIf | ||
- | If $ProductProperty_VM-Type$ = " | ||
- | LogWarning "NOT Patching JCE for x86 JDK; File not found: %ProgramFiles32Dir%\Java\jdk" | ||
- | EndIf | ||
- | Files_patch_JCE_JRE_x86 | ||
- | Else | ||
- | LogWarning "NOT Patching JCE for x86 JRE and JDK; File not found: %ProgramFiles32Dir%\Java\jre" | ||
- | EndIf | ||
- | |||
- | Message " | ||
- | |||
- | |||
- | [WinBatch_install_x86_64_UseMSI] | ||
- | msiexec /i " | ||
- | |||
- | [WinBatch_install_x86] | ||
- | " | ||
- | |||
- | [WinBatch_install_x64] | ||
- | " | ||
- | |||
- | [Files_delete_broken_x86_x64] | ||
- | Delete -f -s " | ||
- | |||
- | [Registry_disable_update] | ||
- | OpenKey [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy] | ||
- | Set " | ||
- | |||
- | [Files_patch_JCE_JDK_x86] | ||
- | Copy -s " | ||
- | |||
- | [Files_patch_JCE_JDK_x64] | ||
- | Copy -s " | ||
- | |||
- | [Files_patch_JCE_JRE_x86] | ||
- | Copy -s " | ||
- | |||
- | [Files_patch_JCE_JRE_x64] | ||
- | Copy -s " | ||
- | |||
- | </ | ||
- | |||
- | ===== Sub_UpdateVariables.ins ===== | ||
- | <code winst Sub_UpdateVariables.ins> | ||
- | [Initial] | ||
- | SetLogLevel = 5 | ||
- | ExitOnError = True | ||
- | ScriptErrorMessages = Off | ||
- | TraceMode = Off | ||
- | StayOnTop = False | ||
- | |||
- | [Actions] | ||
- | RequiredWinstVersion >= " | ||
- | Message " | ||
- | DefStringList $StringList_Java6$ | ||
- | DefStringList $StringList_Java7$ | ||
- | DefStringList $StringList_Java8$ | ||
- | DefVar $Argument_Msi_AutoUpdateCheck$ | ||
- | DefVar $Argument_Msi_IExplorer$ | ||
- | DefVar $Argument_Msi_Ju$ | ||
- | DefVar $Argument_Msi_Mozilla$ | ||
- | DefVar $Argument_Msi_SysTray$ | ||
- | DefVar $Arguments_Exe$ | ||
- | DefVar $Arguments_Msi$ | ||
- | DefVar $DefaultLogLevel$ | ||
- | DefVar $IsUninstall$ | ||
- | DefVar $MicrosoftWindowsVersion$ | ||
- | DefVar $MinimumSpace$ | ||
- | DefVar $PathSetup_Data$ | ||
- | DefVar $PathSetup_Exe32$ | ||
- | DefVar $PathSetup_Exe64$ | ||
- | DefVar $PathSetup_Msi32$ | ||
- | DefVar $ProcessorArchitecture$ | ||
- | DefVar $ProductDisplayName$ | ||
- | DefVar $ProductDisplayVersion$ | ||
- | DefVar $ProductDisplayVersion_x32$ | ||
- | DefVar $ProductDisplayVersion_x64$ | ||
- | DefVar $ProductName$ | ||
- | DefVar $ProductProperty_Java-Updater$ | ||
- | DefVar $ProductProperty_Version$ | ||
- | DefVar $ProductProperty_VM-Type$ | ||
- | DefVar $ProductProperty_WebJava$ | ||
- | DefVar $ProductProperty_WebJava-Security_Level$ | ||
- | DefVar $ProductProperty_32bitOnly$ | ||
- | DefVar $ProductVersion$ | ||
- | DefVar $RegistryPath$ | ||
- | DefVar $RegistryPath_x64$ | ||
- | DefVar $Temp_ExitCode$ | ||
- | DefVar $Temp_Message$ | ||
- | DefVar $Temp_MicrosoftWindowsVersionRequired$ | ||
- | DefVar $Temp_MicrosoftWindowsVersionRequiredName$ | ||
- | DefVar $Temp_Msi$ | ||
- | DefVar $Temp_MsiSuffix$ | ||
- | DefVar $Temp_MsiDiff01$ | ||
- | DefVar $UninstallCommand$ | ||
- | DefVar $UpdateVersion7$ | ||
- | DefVar $UpdateVersion8$ | ||
- | |||
- | Set $ProductName$ = " | ||
- | |||
- | ; https:// | ||
- | Set $StringList_Java6$ = CreateStringList ( ' | ||
- | |||
- | ; https:// | ||
- | Set $StringList_Java7$ = CreateStringList ( ' | ||
- | |||
- | ; https:// | ||
- | Set $StringList_Java8$ = CreateStringList ( ' | ||
- | |||
- | ; Get last update version | ||
- | Set $UpdateVersion7$ = TakeString ( -1, $StringList_Java7$ ) | ||
- | Set $UpdateVersion8$ = TakeString ( -1, $StringList_Java8$ ) | ||
- | |||
- | Set $DefaultLogLevel$ = " | ||
- | Set $IsUninstall$ = " | ||
- | Set $MicrosoftWindowsVersion$ = GetMsVersionInfo | ||
- | Set $MinimumSpace$ = "248 MB" | ||
- | Set $PathSetup_Data$ = " | ||
- | Set $ProcessorArchitecture$ = GetSystemType | ||
- | Set $ProductProperty_Java-Updater$ = GetProductProperty ( " | ||
- | Set $ProductProperty_VM-Type$ = GetProductProperty ( " | ||
- | Set $ProductProperty_Version$ = GetProductProperty ( " | ||
- | Set $ProductProperty_WebJava$ = GetProductProperty ( " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = GetProductProperty ( " | ||
- | Set $ProductProperty_32bitOnly$ = GetProductProperty ( " | ||
- | Set $RegistryPath$ = " | ||
- | Set $RegistryPath_x64$ = " | ||
- | Set $Temp_MsiSuffix$ = "" | ||
- | |||
- | ; Reset changed variables | ||
- | Sub " | ||
- | |||
- | ; Parse selected ProductPropertys and generate installation argument list | ||
- | If $ProductProperty_WebJava$ = " | ||
- | Set $ProductProperty_WebJava$ = " | ||
- | Set $Argument_Msi_IExplorer$ = " | ||
- | Set $Argument_Msi_Mozilla$ = " | ||
- | Else | ||
- | Set $ProductProperty_WebJava$ = " | ||
- | Set $Argument_Msi_IExplorer$ = " | ||
- | Set $Argument_Msi_Mozilla$ = " | ||
- | EndIf | ||
- | |||
- | If $ProductProperty_WebJava-Security_Level$ = " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = " | ||
- | EndIf | ||
- | If $ProductProperty_WebJava-Security_Level$ = " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = " | ||
- | EndIf | ||
- | If $ProductProperty_WebJava-Security_Level$ = " | ||
- | Set $ProductProperty_WebJava-Security_Level$ = " | ||
- | EndIf | ||
- | |||
- | If $ProductProperty_Java-Updater$ = " | ||
- | Set $Argument_Msi_SysTray$ = " | ||
- | Set $ProductProperty_Java-Updater$ = " | ||
- | Set $Argument_Msi_Ju$ = " | ||
- | Set $Argument_Msi_AutoUpdateCheck$ = " | ||
- | Else | ||
- | Set $Argument_Msi_SysTray$ = " | ||
- | Set $ProductProperty_Java-Updater$ = " | ||
- | Set $Argument_Msi_Ju$ = " | ||
- | Set $Argument_Msi_AutoUpdateCheck$ = " | ||
- | EndIf | ||
- | |||
- | Set $Arguments_Exe$ = "/s " + $ProductProperty_WebJava$ + " " + $ProductProperty_WebJava-Security_Level$ + " STATIC=0" | ||
- | Set $Arguments_Msi$ = "/qb! REBOOT=ReallySuppess " + $Argument_Msi_IExplorer$ + " " + $Argument_Msi_Mozilla$ + " " + $Argument_Msi_SysTray$ + " " + $ProductProperty_Java-Updater$ + " " + $Argument_Msi_Ju$ + " " + $Argument_Msi_AutoUpdateCheck$ | ||
- | |||
- | ShowBitMap " | ||
- | SetLogLevel = $DefaultLogLevel$ | ||
- | |||
- | Sub " | ||
- | |||
- | Message " | ||
- | |||
</ | </ | ||