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

Exe installers will install application to already existing instalation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • internal
    • tools

      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.

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

              Created:
              Updated:
              Resolved: