JDK-6740115 : unable to update 6u10 beta to fcs b29 - [ de, es, fr, it, ja, sv ] locales
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2008-08-21
  • Updated: 2013-06-04
  • Resolved: 2008-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u10 b32Fixed 7Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Unable to update 6u10 from beta to fcs.
b14 xp Spanish
b24 2000 Swedish

After manually clicking "Update Now" button, it takes a while to download the update, then, a dialog poped up saying "Error applying transform. Verify that the specified transform paths are valid."
I missed a step in description, after clicking "update now", there was a dialog that asked the user to click "update" or "later". Clicked "update", and it took a while to download the update, then, the "error applying transform..." error was displayed.

The problem may also appear on other locales. Need to perform more testing. So far, the Asian locales PASSed the test.

Comments
EVALUATION We have implemented the fix very similar to above: 1. Check if "REINSTALL_NO_PROMPT=1" 2. Check if "-download" flag is set If #1, but NOT #2, we uninstall the 6u10beta. The wrapper is run twice by AU. The first time, it's run to download the MSI, MST and compression dll. The second time, it's used to invoke the installer MSI. So, by check if REINSTALL_NO_PRMOPT=1, we are assured that this is a 6u10->6u10 install. By checking if ! -download, we are avoiding running the beta uninstall when the wrapper is only being used to download files. We have also uncovered another issue in the process...files are being downloaded twice (once before the install, and once after). We have also addressed this issue with the proposed fix by only uncompressing the downloaded files during the 2nd execution of jinstall.exe. Webrev and core approval are pending for 6u10.
05-09-2008

EVALUATION We've determined that this only happens when a user installs a 6u10-beta *offline* JRE on a *non-English* machine, and then runs a later build of 6u10. They will get the "Error applying transforms" dialog. This represents a large number of beta customers, so we'll need to address it with a fix. We believe this is due to the fact that the jre offline transforms are embedded inside of the msi file as a storage. It's creating a caching issue when the user reinstalls, where it can't find the embedded storage transform. If the transforms were external to the msi file, and were linked in as 9 separate resources in the offline wrapper, this issue would go away. This would not happen with users upgrading versions (6u10->6u11). The solution to this problem should be to reuse the REINSTALL_NO_PROMPT=1 prompt that is already set in the beta xml file. We need to make changes to the jre-iftw.exe file. If that REINSTALL_NO_PROMPT=1 is set, and the HKLM/Software/Javasoft/Java Runtime Environment/1.6.0_10 key exists.....we should first uninstall 6u10 with the following command: msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216010FF} /qb This should run before WhatsInstalled() gets called by the jre-iftw. We'll need RE to rebuild with this fix, and we'll need to restage the new jre-iftw.exe to be used for beta->fcs auto-update users.
25-08-2008

EVALUATION I have found easier steps to reproduce outside of auto-update. 1. Install JRE b14 and make sure a transform is applied. Transforms are applied in any case other than jre pure offline on an English machine. 2. Run the b29 JRE online installer, and you'll get "Error applying transforms". I've run #2 with no transforms, and with the same matching transforms...and I get the same "Error applying transforms" error in both cases.
22-08-2008