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

add support for additional metadata in add/remove programs

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 17
    • tools
    • None
    • behavioral
    • low
    • Adding new CLI options to jpackage
    • add/remove/modify command line option, Other
    • JDK

      Summary

      Add more details to information displayed in Add/Remove Programs in the Control Panel for applications installed by Windows installers created by jpackage.

      Problem

      Currently Windows installers created by jpackage provide only a few details in Add/Remove Programs in the Control Panel: installation location and application icon. However more details can be provided to give users better understanding of installed application.

      Solution

      Windows installers created by jpackage may set additional properties to provide more details about installed applications in Add/Remove Programs in the Control Panel. The full list of properties that can be configured by Windows installers is available at https://docs.microsoft.com/windows/win32/msi/configuring-add-remove-programs-with-windows-installer.

      Windows installers created by jpackage may:

      Set `ARPCOMMENTS` property (comments) with the value of "--description" CLI option if specified.
      
      Set `ARPSIZE` property (estimated size of the application in kilobytes) from the size of application image to be installed.
      
      Set `ARPCONTACT` property (the contact) with the value of "--vendor" CLI option if specified.
      
      Set `ARPHELPLINK` property (the URL for technical support) with the value of "--win-help-url" CLI option if specified.
      
      Set `ARPURLINFOABOUT` property (the URL for application's home page) with the value of "--about-url" CLI option if specified.
      
      Set `ARPURLUPDATEINFO` property (the URL for application update information) with the value of "--win-update-url" CLI option if specified.

      Value of "--about-url" CLI option may be also used with Linux packages in the following way:

      RPM package:

      Set `URL` rpm property (The meaning of this property from rpm packaging spec: the URL for more information about the application).

      DEB package:

      Set `Homepage` field of deb control file (The meaning of this property from deb packaging spec: the URL of the web site for the application).

      Specification

      Add the following CLI options:

      --win-help-url <url>
      
      url where user can obtain further information or technical support
      
      --win-update-url <url>
      
      url of available application update information
      
      --about-url <url>
      
      url of the application's home page
      

            asemenyuk Alexey Semenyuk
            almatvee Alexander Matveev
            Alexander Matveev, Andy Herrick (Inactive), Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: