• 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
Re: file associations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file associations


  • Subject: Re: file associations
  • From: Bill Coderre <email@hidden>
  • Date: Mon, 27 Oct 2008 16:09:11 -0700


On Oct 24, 2008, at 3:33 AM, Pierluigi wrote:
Hi,
I'm creating a dmg manual installer.
Is it possible to set any enviroment variables using this kind of installer?
How can I set any file extensions associations?
Thanks

What is it you are trying to accomplish with environment variables?

The Mac OS X way of associating apps with file extensions is called Launch Services. You can read about it by googling or looking on http:/ developer.apple.com

When you install an app, the app contains info in its Info.plist about files that it can open, and Installer.app and Launch Services automatically do the work needed to set up the normal "my app opens foo" type associations.

If you want to change an existing association, for instance, to get your app to launch and open Excel spreadsheets when users double-click files ending with .xls, you would have to write a bunch of custom code, and users should either be asked or at least clearly informed of what's going to happen, lest they become angry at you.
_______________________________________________
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
References: 
 >file associations (From: Pierluigi <email@hidden>)

  • Prev by Date: Re: how to change folder attributes from postinstall (missing SetFile?)
  • Next by Date: Quitting the Installer
  • Previous by thread: file associations
  • Next by thread: Quitting the Installer
  • Index(es):
    • Date
    • Thread