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

Exe installers will install application to already existing instalation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      If I generate two separate installers (different name) and install both of them, then second installer will be installed into same location as previous one.
      For example:
      Installer 1:
      create-installer exe --input input --output output --name JPackageCreateInstallerTest --main-jar hello.jar --class Hello --force --files hello.jar
      Installer 2:
      create-installer exe --input input --output output --name JPackageCreateInstallerWinMenuTest --main-jar hello.jar --class Hello --force --files hello.jar --win-menu

      Run JPackageCreateInstallerTest-1.0.exe and it will get installed into C:\Program Files\JPackageCreateInstallerTest, then run JPackageCreateInstallerWinMenuTest-1.0.exe and it will also get isntalled into C:\Program Files\JPackageCreateInstallerTest and this folder will have both launcher. If JPackageCreateInstallerWinMenuTest-1.0.exe installed first then everything gets installed into C:\Program Files\JPackageCreateInstallerWinMenuTest.

        Attachments

          Activity

            People

            • Assignee:
              almatvee Alexander Matveev
              Reporter:
              almatvee Alexander Matveev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: