• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
File icon association with the application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File icon association with the application


  • Subject: File icon association with the application
  • From: "Francois Cournoyer" <email@hidden>
  • Date: Thu, 30 Apr 2009 16:53:05 -0400
  • Importance: normal
  • Priority: normal
  • Thread-topic: File icon association with the application

Hi everyone,

 

I’m not exactly sure this is the right list to ask, but since it’s more about distribution than anything else, I thought I’d ask here,

 

I’ve been tolling on this for quite a few days now and still couldn’t manage it.

 

What we’re trying to do is association 3 filetypes with our application, each with their own icon.

 

From what I gathered, this should be handled by the info.plist contained in the .app,  but so far all attempt have failed and all we get is the “standard” unix exec icon.

 

Here’s the info.plist content, any help would be greatly appreciated as at this point the project is going critical because of this.

[BEGIN]

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

                <key>CFBundleInfoDictionaryVersion</key>

                <string>6.0</string>

                <key>CFBundleSignature</key>

                <string>????</string>

                <key>CFBundleDocumentTypes</key>

                <array>

                                <dict>

                                                <key>CFBundleTypeExtentions</key>

                                                <array>

                                                                <string>asn</string>

                                                </array>

                                                <key>CFBundleTypeIconFile</key>

                                                <string>asn.icns</string>

                                                <key>CFBundleTypeName</key>

                                                <string>Assignment Document</string>

                                                <key>CFBundleTypeRole</key>

                                                <string>Editor</string>

                                                <key>LSIsAppleDefaultForType</key>

                                                <true/>

                                </dict>

                                <dict>

                                                <key>CFBundleTypeExtentions</key>

                                                <array>

                                                                <string>opt</string>

                                                </array>

                                                <key>CFBundleTypeIconFile</key>

                                                <string>opt.icns</string>

                                                <key>CFBundleTypeName</key>

                                                <string>OutLine Template</string>

                                                <key>CFBundleTypeRole</key>

                                                <string>Editor</string>

                                                <key>LSIsAppleDefaultForType</key>

                                                <true/>

                                </dict>

                                <dict>

                                                <key>CFBundleTypeOSTypes</key>

                                                <array>

                                                                <string>????</string>

                                                </array>

                                                <key>CFBundleTypeExtentions</key>

                                                <array>

                                                                <string>djs</string>

                                                </array>

                                                <key>CFBundleTypeIconFile</key>

                                                <string>djs.icns</string>

                                                <key>CFBundleTypeName</key>

                                                <string>Student Working Document</string>

                                                <key>CFBundleTypeRole</key>

                                                <string>Editor</string>

                                                <key>LSIsAppleDefaultForType</key>

                                                <true/>

                                </dict>

                </array>

                <key>CFBundleExecutable</key>

                <string>ROL</string>

                <key>CFBundleGetInfoString</key>

                <string>Created by Qt/QMake</string>

                <key>CFBundleIconFile</key>

                <string>readol.icns</string>

                <key>CFBundleIdentifier</key>

                <string>com.dji.rol11</string>

                <key>CFBundlePackageType</key>

                <string>APPL</string> 

</dict>

</plist>

 

[END]

 

I tried adding the CFBundleTypeOSTypes just in case, but didn’t make any difference.

 

 

Thanks in advance,

 

Francois C.

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: File icon association with the application
      • From: "Philip D. Wasson" <email@hidden>
  • Prev by Date: Deleting and creating new alias in PackageMaker
  • Next by Date: Re: File icon association with the application
  • Previous by thread: Re: Deleting and creating new alias in PackageMaker
  • Next by thread: Re: File icon association with the application
  • Index(es):
    • Date
    • Thread