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

cache remove process depends on extension uninstallers to be "Well Behaved"

    XMLWordPrintable

Details

    • b85
    • generic
    • generic

    Backports

      Description

        When uninstalling an application with an installer extension, or just uninstalling the jnlp file of type installer-desc, if the lap of that installer-desc says that it is installed, we use JnlpxArgs.execProgram() to exec new process that is that installer with the "uninstall" as argv[0].
        we then wait for that process to complete.
        we then update lap to indicate the installer is no longer installed.

         As a result , if the process never completes (say till it is later killed), then we never mark the lap to say that extension is uninstalled. (or continue the original uninstall)

         as a result of the above, if you then try run the original program again, it will not execute the extension installer (lap will still say that it is installed)

         shouldn't we either:
         1.) mark the lap as extension is uninstalled before exec of it's uninstaller, to indicate that we made good faith effort to uninstall the extension, or
         2.) wait for the process for a finite length of time, then continue as if the uninstallation succeeded ?
        (that is proceed to mark as uninstalled and remove resources)

        Attachments

          Issue Links

            Activity

              People

                herrick Andy Herrick (Inactive)
                herrick Andy Herrick (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: