JDK-6702282 : changes needed to auto-update from 6u10-beta -> 6u10-rc
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-05-14
  • Updated: 2010-09-17
  • Resolved: 2008-07-03
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 b26Fixed 7Fixed
Related Reports
Relates :  
Relates :  
Description
We may want to use auto-update for updating people from 6u10-beta -> 6u10-rc.

auto-update/Patch-in-place was not designed to work between builds, but rather between update releases.

Currently, if we auto-update 6u10-beta users to 6u10-rc, they will be shown the dialog "You already have this version installed, would you like to reinstall?".  The fix here should be to supress this dialog during this user scenario.  

It should be noted that a full 6u10-rc will be downloaded when users are updated which I believe is around ~11MB.  We'll be using the BITS technology to do this in the background.  This is also a good idea because we can test out the new auto-update features with a larger audience (before 6u10-fcs).

Comments
SUGGESTED FIX These are the changes for the install. The auto-update XML file from beta to GA will need to have REINSTALL_NO_PROMPT=1 passed to the iftw installer. call SetREINSTALL_COND to set a single property from complex condition on reinstalldialog change reinstalldialog to use (NOT REINSTALL_NO_PROMPT) And REINSTALL_COND for condition if REINSTALL_NO_PROMPT And REINSTALL_COND call existing uninstall CA call existing SetReinstall CA reset ENDDIALOG property to 0 so SetupCompleteSuccess dialog is skipped call ExitUI/MSIErrorNoMoreItems() - causes UI sequence to be exited without error SetupCompleteSuccess dialog get skipped because ENDDIALOG is set to 0 webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u10/6702282.0 testcase: http://oklahoma.east/deployment/www/tests/1.6.0_10/testcase_6702282.txt
23-05-2008

EVALUATION The fix should be to suppress the reinstall dialog if a REINSTALLSUPPRESS=1 is given to the msi installer during runtime. We can then add this argument to the beta-xml file to be passed to the GA installer during the auto-update.
19-05-2008