FULL PRODUCT VERSION :
installer file: jdk-6-beta2-bin-b75-windows-i586-09_mar_2006.exe
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
If for some reason a installation becomes corrupted in a way that causes the uninstaller to fail there is no way to reinstall a JDK because the 1.6 installer depends on a successful uninstallation.
When run the installer will detect the previous install and ask the user if he wishes to reinstall the software. If the user clicks "Yes" the uninstaller is launched, after the uninstaller is done the installer is restarted, which, if the uninstall failed, again finds the previously installed JDK and again asks if the user wishes to reinstall. There is no way to break this loop other than abort the install.
This also applies to 1.5.0_05, the 1.5 installer however will just inform the user that the software is already installed and quit.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Break an installation in a way that makes the uninstaller fail, removing the files in "\Program Files\Common Files\Java\Update\Base Images\" works for JDK/JRE 1.5.
I managed to break my 1.6 installation by using Windows System Restore (restoring my computer to an earlier time using a restore point that was created by the JRE uninstaller) but don't know if this can be reproduced since I cannot (re)install 1.6 for a test.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A successful install, either because the uninstaller removes all possible traces of a previous install or by forcing an installation overwriting the previous installation.
ACTUAL -
The installer fails.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Uninstaller: "Fatal error during installation."
REPRODUCIBILITY :
This bug can be reproduced always.
installer file: jdk-6-beta2-bin-b75-windows-i586-09_mar_2006.exe
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
If for some reason a installation becomes corrupted in a way that causes the uninstaller to fail there is no way to reinstall a JDK because the 1.6 installer depends on a successful uninstallation.
When run the installer will detect the previous install and ask the user if he wishes to reinstall the software. If the user clicks "Yes" the uninstaller is launched, after the uninstaller is done the installer is restarted, which, if the uninstall failed, again finds the previously installed JDK and again asks if the user wishes to reinstall. There is no way to break this loop other than abort the install.
This also applies to 1.5.0_05, the 1.5 installer however will just inform the user that the software is already installed and quit.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Break an installation in a way that makes the uninstaller fail, removing the files in "\Program Files\Common Files\Java\Update\Base Images\" works for JDK/JRE 1.5.
I managed to break my 1.6 installation by using Windows System Restore (restoring my computer to an earlier time using a restore point that was created by the JRE uninstaller) but don't know if this can be reproduced since I cannot (re)install 1.6 for a test.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A successful install, either because the uninstaller removes all possible traces of a previous install or by forcing an installation overwriting the previous installation.
ACTUAL -
The installer fails.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Uninstaller: "Fatal error during installation."
REPRODUCIBILITY :
This bug can be reproduced always.