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

File Association icons no longer work on windows

    XMLWordPrintable

    Details

      Description

      If the File Association property file has an icon specification with relative path name such as:
      icon=config/myicon.ico
      wix will crash with error that it cannot find icon.
      If full path is given:
      icon=/home/aherrick/jpackage-lite/windows/config/myicon.ico
      everything works fine and that icon is used.

      can be fixed by just setting fa.icon to be an absolute path in FileAssociation.fetchFrom:
                              assoc.iconPath = icon.toPath().toAbsolutePath();



        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              herrick Andy Herrick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: