Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2143114 | 6 | William Harnois | P3 | Closed | Duplicate |
The uninstaller takes way too long. This is because we utilize the RemoveFile.idt table, which has very bad performance when the files actually exist. We should continue using the RemoveFile table, because it shows a great FilesInUse dialog when there are locked files. But we should first make an attempt to delete all the files ourselves with RegUtils.dll. We can use the RemoveDirectoryRecursively function that we used in a previous release. We should make sure we ignore any files that are locked, and just let the RemoveFile table handle those properly.
I did a test for this, and it reduced the JRE uninstallation time from 36 seconds to 6 seconds.
I did a test for this, and it reduced the JRE uninstallation time from 36 seconds to 6 seconds.
- backported by
-
JDK-2143114 java uninstaller performance needs improvement
-
- Closed
-
- duplicates
-
JDK-6875103 Uninstallation for JRE/JDK should be faster
-
- Closed
-
-
JDK-7027774 New feature request: remove dependency on RemoveFile table in MSI
-
- Closed
-