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

Update desktop integration on Windows to provide the common user experience.

XMLWordPrintable

    • b10
    • x86
    • windows_xp

      The Windows Add/Remove Programs system allows for a great deal of information
      about an application to be shown in the Add/Remove Programs dialog. Some of
      this information corresponds to information provided in a JNLP descriptor, but
      JavaWS does not provide this information to Windows, so Add/Remove Programs is
      not as useful as it could be for JavaWS applications.

      Specifically, Add/Remove Programs entries can contain:
         - Publisher name
         - Publisher email address
         - Publisher's website
         - Installation location on disk
         - Installation date

      None of those attributes are present for JavaWS applications in the Add/Remove
      Programs dialog, even though they could be extracted easily from the JNLP file
      and/or installation process. JavaWS application entrys should also show the
      application's icon if one has been specified, instead of using the generic
      JavaWS icon.

       - Publisher name corresponds to the <vendor> entry in the JNLP file
       - Publisher email address may correspond to a JNLP entry but I can't
         seem to find which one
       - Publisher website corresponds to the <homepage> entry in the JNLP file
       - Installation location on disk is known by JavaWS. This location is not
         revealed to the user, but Windows uses it to calculate how much disk
         space is being used by the application. Knowing how much disk space a
         JavaWS application uses would be useful, and would make JavaWS applications
         blend in better with other applications.
       - Installation date could be recorded at install time
       - Display icon corresponds to the <icon> entry in the JNLP file

      The corresponding Windows Registry values for these under the application's
      Uninstall subkey are:

          Publisher
          Contact
          HelpLink
          InstallLocation
          InstallDate (format: "Thu Apr 01 17:30:53 EST 2004")
          DisplayIcon

      The control panel button for any given JavaWS entry says "Change/Remove". This
      button is mislabelled: clicking "Change/Remove" removes the application
      without any chance to "Change" the installation. The button should be renamed
      "Remove", which can be done by setting two DWORD values in the application's
      Uninstall registry entry:

          NoModify = 1
          NoRepair = 1

      Clicking "Change/Remove" on a JavaWS application (in the Control Panel's
      "Add/Remove Programs" screen) instantly removes the given application, without
      any kind of prompt, warning, or confirmation. Most other uninstallers at least
      say "Are you sure you want to uninstall XXXXXXX?" The uninstaller for JavaWS
      applications should ask:"Are you sure you want to uninstall <title>?" before
      uninstalling.

      These additions would make using Java Web Start for desktop applications even
      more attractive to developers, since they would have almost the full power of
      using a traditional native installer.

      Additionally, most of these changes will not require much extra code,
      since the information is already in the JNLP file.

      --------------------------------------------------------------------------------
      I have combined 4 related enhancement requests into a single RFE. The above text now covers all 4 requests. The below text is the origianl text for the single enhancement originally described by this report. I've kept it for historical tracking.

      ###@###.### 2004-09-09
      --------------------------------------------------------------------------------
      ###@###.### 2004-05-04

      Synopsis: Information in JNLP descriptor should be included in Add/Remove programs

      J2SE Version (please include all output from java -version flag):
        java version "1.5.0-beta2"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b48)
        Java HotSpot(TM) Client VM (build 1.5.0-beta2-b48, mixed mode, sharing)

      Does this problem occur on J2SE 1.3.x or 1.4.x? Yes / No (pick one)
        No

      Operating System Configuration Information (be specific):
        Windows XP

      Bug Description:
        The Windows Add/Remove Programs system allows for a great deal of
        information about an application to be shown in the Add/Remove Programs
        dialog. Some of this information corresponds to information provided in
        a JNLP descriptor, but JWS does not provide this information to Windows,
        so Add/Remove Programs is not as useful as it could be for JWS applications.

        Specifically, Add/Remove Programs entries can contain:
         - Publisher name
         - Publisher email address
         - Publisher's website
         - Installation location on disk
         - Installation date

        None of those attributes are present for JWS applications in the
        Add/Remove Programs dialog, even though they could be extracted easily
        from the JNLP file and/or installation process.

         - Publisher name corresponds to the <vendor> entry in the JNLP file
         - Publisher email address may correspond to a JNLP entry but I can't
           seem to find which one
         - Publisher website corresponds to the <homepage> entry in the JNLP file
         - Installation location on disk is known by JWS. This location is not
           revealed to the user, but Windows uses it to calculate how much disk
           space is being used by the application. Knowing how much disk space a
           JWS application uses would be useful, and would make JWS applications
           blend in better with other applications.
         - Installation date could be recorded at install time

        The corresponding Windows Registry values for these under the
        application's Uninstall subkey are:
         - Publisher
         - Contact
         - HelpLink
         - InstallLocation
         - InstallDate (format: "Thu Apr 01 17:30:53 EST 2004")

        these additions would make using Java Web Start for desktop
        applications even more attractive to developers, since they would have
        almost the full power of using a traditional native installer.

        Additionally, most of these changes will not require much extra code,
        since the information is already in the JNLP file.



      ###@###.### 2004-09-09

            mromanchsunw Michael Romanchuk (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: