Took me a little trial and error to get Java 7 Update 25 working with UAC enabled; I thought I'd post my abridged notes below as an addendum to the wonderful documentation that is already provided for Java 7 update 21 under the Documentation section on this site. All praise to the devs!
Java 7 Update 25 32-bit Install Notes:
First install standard Java package from Sun.
Obtain Cab and MSI from LocalLow\Sun for current user Appdata. This is necesary because as of 7U25, the EXE fails to execute with UAC enabled. (Error 643 I believe - I tested executing the installer from the command line and observed failure as well with UAC enabled while using the switches from the 7U21 Documentation.)
Then get install strings:
Install Strings Located: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall[ProductCode]
Browse through for Java and updater codes.
7u25 string:
{b3789310-29f5-478f-9353-b2c9f1c711f6}
7u25 updater string:
{4A03706F-666A-4037-7777-5F2748764D10}
Follow Guide included mostly, but...
Define Return Code
Stop Service JavaQuickStarterService
Allow to execute a file with following strings:
Path to file:
%windir%\System32\msiexec.exe
Parameters:
/i jre1.7.0_25.msi /quiet /norestart AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0
Kill process after 30 minutes, return code
Allow to define the return code for this custom update, then done with building, follow guide.
To test, approve for WSUS test group; you have to stop Windows Update service, delete datastore and download folder contents sometimes to flush deleted updates from local cache in C:\Windows\SoftwareDistribution. (leave folders)
Java 7 Update 25 64-bit Install Notes:
First install standard Java package from Sun.
Then get install strings:
Install Strings Located: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall[ProductCode]
Browse through for Java and updater codes.
7u25 x64 string:
{26A24AE4-039D-4CA4-87B4-2F86417025FF}
7u25 updater string:
Currently not present in 64-bit version of Java, see Java release.
Otherwise follow instructions included from WSUS Package Publisher Java document.
To test, approve for test group; you have to stop Windows Update service, delete datastore and download folder contents. (leave folders)
Java 7 Update 25 32-bit Install Notes:
First install standard Java package from Sun.
Obtain Cab and MSI from LocalLow\Sun for current user Appdata. This is necesary because as of 7U25, the EXE fails to execute with UAC enabled. (Error 643 I believe - I tested executing the installer from the command line and observed failure as well with UAC enabled while using the switches from the 7U21 Documentation.)
Then get install strings:
Install Strings Located: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall[ProductCode]
Browse through for Java and updater codes.
7u25 string:
{b3789310-29f5-478f-9353-b2c9f1c711f6}
7u25 updater string:
{4A03706F-666A-4037-7777-5F2748764D10}
Follow Guide included mostly, but...
Define Return Code
Stop Service JavaQuickStarterService
Allow to execute a file with following strings:
Path to file:
%windir%\System32\msiexec.exe
Parameters:
/i jre1.7.0_25.msi /quiet /norestart AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0
Kill process after 30 minutes, return code
Allow to define the return code for this custom update, then done with building, follow guide.
To test, approve for WSUS test group; you have to stop Windows Update service, delete datastore and download folder contents sometimes to flush deleted updates from local cache in C:\Windows\SoftwareDistribution. (leave folders)
Java 7 Update 25 64-bit Install Notes:
First install standard Java package from Sun.
Then get install strings:
Install Strings Located: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall[ProductCode]
Browse through for Java and updater codes.
7u25 x64 string:
{26A24AE4-039D-4CA4-87B4-2F86417025FF}
7u25 updater string:
Currently not present in 64-bit version of Java, see Java release.
Otherwise follow instructions included from WSUS Package Publisher Java document.
To test, approve for test group; you have to stop Windows Update service, delete datastore and download folder contents. (leave folders)