Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4867551

jre/sdk uninstallers don't allow a proper cancel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • 6
    • install
    • None
    • generic
    • generic

      During uninstallation for the jre/sdk installers, the user is shown a cancel button. Before uninstalling the actual jre files, we call UninstallJRE which removes registries, and unregisters with browsers etc. If the user presses cancel after this part, it will restore all of the files, but the registry etc will not be restored. Installshield has no way of knowing how to restore them because it is a custom action. The same happens for the sdk installer.

      The fix would be to disable the remove button(in the add/remove programs utility) If this is done, the user will be shown only full UI through the add/remove programs through the change button. This will show the full progress dialog, in which we have disabled the cancel button.

      Another fix may be to move uninstalljre to the end of the execute sequence. This may or may not work depending on when the cancel button is disabled during the current installer. This would be a better solution if it works, because it will allow the user to cancel the uninstallation properly, and it will still give them the remove button in the add/remove programs utility.
      ###@###.### 2003-05-21

            billyh William Harnois
            billyh William Harnois
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: