United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6684529 32-bit and 64-bit installers can overwrite each others temporary files
JDK-6684529 : 32-bit and 64-bit installers can overwrite each others temporary files

Details
Type:
Bug
Submit Date:
2008-04-04
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-06-16
Component:
install
OS:
windows_2003
Sub-Component:
install
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b25)

Related Reports
Backport:

Sub Tasks

Description
6u10 64-bit JRE and the 32-bit JRE installers both write files with the same name to %APPDATA%\Sun\Java\jre1.6.0_10

If both installs are launched near the same time, one may overwrite the other one's files.

Directory of C:\Documents and Settings\Administrator\Application Data\Sun\Java\
jre1.6.0_10:

04/04/2008  12:31 PM        11,798,960 Data1.cab
04/04/2008  12:31 PM           506,880 jre1.6.0_10.msi

                                    

Comments
SUGGESTED FIX

x64 install to use %APPDATA%\Sun\Java\jre1.6.0_10_x64
                                     
2008-04-04
EVALUATION

The fix should be to append "-x64" to the extraction directory for 64bit.  The 32-bit directory name can remain the same.
                                     
2008-04-30
EVALUATION

Both the wrapper and online wrapper need to make this change.  Also, the Regutils CustomAction that removes the cached msi during uninstall needs to know the new name of the dir.
                                     
2008-04-30



Hardware and Software, Engineered to Work Together