United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6645033 Internal Error 2753. regutils.dll - While Re-installing JRE6u10
JDK-6645033 : Internal Error 2753. regutils.dll - While Re-installing JRE6u10

Details
Type:
Bug
Submit Date:
2007-12-23
Status:
Resolved
Updated Date:
2013-06-11
Project Name:
JDK
Resolved Date:
2013-06-11
Component:
install
OS:
windows_xp
Sub-Component:
install
CPU:
x86
Priority:
P4
Resolution:
Won't Fix
Affected Versions:
6u10
Fixed Versions:
8

Related Reports
Relates:

Sub Tasks

Description
Internal Error 2753. regutil.dll - While Re-installing JRE6u10 b09 PIT
Got this error while re-installing JRE. Looks like it is not able to access the registry key. I am not able to reproduce this either. Attached the screen shot. 

I found this error in my desktop (129.158.229.249) 
I am sorry I dont know the MSI log corresponds to it . There is a  bunch of MSI logs in my m/c but none of them contains this error. So I dont know which one is corresponds to this installation. 

Attached all the MSI logs .
See http://forums.java.net/jive/thread.jspa?messageID=308897

While investigating the error, I found a way to cause Internal Error 2753. regutils.dll

I don't know how a higher version regutils.dll would be left in the C:\Program Files\Java\jre6 directory, but if one is, it causes the Error 2753.

Steps:
Install 6u11 JRE
Copy C:\Program Files\Java\jre6\bin\regutils.dll to a temporary directory.
Uninstall 6u11 JRE
Copy the file from the temporary directory to C:\Program Files\Java\jre6\bin\regutils.dll
Install 6u10 JRE.

Expected: 6u10 installs
Actual: Internal Error 2753. regutils.dll

Workaround: delete C:\Program Files\Java\jre6\bin\regutils.dll

                                    

Comments
EVALUATION

I'm not sure of the reproducibility of the original CR.
I found a way to reproduce the reported error.
I used 6u10 and 6u11 builds that might have had regutil.dll's with different exported entry points.  A number of originally 6u11 changes were putback in 6u10 before it released, so it might not be reproducible with 6u10 GA and 6u11 GA.

Component: jr; Installed: Absent;   Request: Local;   Action: Null
says the jr component was requested to be installed (locally), but the install isn't going to do it (Action: Null)
I would want to see Component: jr; Installed: Absent;   Request: Local;   Action: Local
where the component would overwrite the regutils.dll that was there.

I thought you changed to Action: Local by setting the right MSI / component properties, not by updating the internals during InstallValidate.

Instead of the component property Never Overwrite=No, it is almost like need an Always Overwrite (even with older version)
By setting the InstallMode of regutils.dll in the RemoveFiles table from 2 to 3, I was trying to get a 6u10 install to overwrite a 6u11 regutils.dll.
                                     
2009-06-24
N/A for JDK8.
                                     
2013-06-11
EVALUATION

Changing the RemoveFile table to remove regutils.dll during install might fix this.

I don't think Windows Installer can be convinced to overwrite a newer file.
                                     
2008-10-17
EVALUATION

It doesn't look like the remove file table wants to remove regutils.dll.  (I tried setting the InstallMode of regutils.dll in the RemoveFiles table from 2 to 3.)

See attached MSIdb0b2.LOG
                                     
2008-10-17
WORK AROUND

Delete the install directory before running the install.
                                     
2008-10-20
EVALUATION

Clarification:
I tried setting the InstallMode of regutils.dll in the RemoveFiles table from 2 to 3 AND it still failed.  See attached MSIdb0b2.LOG for the failure when InstallMode was changed to 3.

MSIdb0b2.LOG contains:
Action start 14:47:09: unzipcore.
MSI (s) (E8:40) [14:47:09:939]: Note: 1: 2753 2: regutils.dll 
DEBUG: Error 2753:  The File 'regutils.dll' is not marked for installation.
Internal Error 2753. regutils.dll
MSI (s) (E8:40) [14:47:27:454]: Product: Java(TM) 6 Update 10 -- Internal Error 2753. regutils.dll
Action ended 14:47:27: unzipcore. Return value 3.

The problem is related to the jr component's Action state of Null during InstallValidate.  It should be Action: Local like many other components.
MSI (s) (E8:40) [14:47:02:247]: Component: jr; Installed: Absent;   Request: Local;   Action: Null
                                     
2009-01-16
EVALUATION

Closing this as not reproducible.  If anyone finds a way to reproduce, we can reopen.
                                     
2008-01-07



Hardware and Software, Engineered to Work Together