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

[Bundlers] content type is not set for Windows when specifying file associations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: deploy
    • Labels:
    • Environment:

      Windows

      Description

      When I install application with file associations, set to this value:
      [{fileAssociation.extension=[foo, bar], fileAssociation.contentType=[application/example, hello/world], fileAssociation.description=The sample description}, {fileAssociation.extension=[mambo, jumbo], fileAssociation.contentType=[application/sample], fileAssociation.icon=C:\Cygwin\home\gtee\dg\appBundlerTests-8u40\build\classes\com\oracle\appbundlers\utils\resources\icon2ico}], I can't see any trace of content types, which should be shown when I try to do

      $ reg query HKEY_CLASSES_ROOT\.\.foo

      You may look at output of, for example, this command line:
      $ reg query HKEY_CLASSES_ROOT\.\.xml

      To reproduce:
      1) bundle application (.exe installer) with similar file association settings
      2) install it
      3) run "reg query .<extension>"

        Attachments

          Activity

            People

            Assignee:
            shemnon Danno Ferrin (Inactive)
            Reporter:
            dginzbur Dmitry Ginzburg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: