Changes

Java

197 bytes added, 01:00, 26 November 2015
Install 32- and 64-bit JRE, remove all other versions using PowerShell: some version strings & path changes I missed, plus explanation of how the fixer works
This package contains an optional hack to fix installation problems sometimes seen with Java 7: It can use [[7-Zip]] to unpack <code>core.zip</code> if the installer didn't. I have not yet seen this problem with Java 8, so it's possible that this is an unnecessary precaution. If you want to use this, uncomment the first half of Step 4 and ensure that [[7-Zip]] is available at your site.
This package contains a workaround the a problem where javaws.exe and jp2launcher.exe are launched multiple times during a silent installation and never exit, blocking the Java install and breaking all other installs done (by WPKG or other programs) until the computer is restarted or someone kills them by hand. The workaround works with a PowerShell one-liner which forks and runs in the background killing these processes whenever they appear. A second one-liner kills the killer process during cleanup.
====Instructions & package====
# Get the offline installers from http://www.oracle.com/technetwork/java/javase/downloads/index.html.
# While logged on as an administrator, run the installers. When you get to the "Welcome to Java" dialog, click Cancel. '''Do not continue with the installation.'''
# Navigate to <code>%APPDATA%\..\LocalLow\SunOracle\Java</code>.# You'll see temporary folders left by the Java installer. For JRE 8u458u65, they will be named <code>jre1.8.0_450_65</code> and <code>jre1.8.0_45_x640_65_x64</code>. Move them to <code>%SOFTWARE%\Java\</code>.
# Update <code>%shortupdatever%</code> in this package.
91
edits