application support folder

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Obleo
Posts: 174
Joined: Mon Apr 10, 2006 10:35 pm
Location: Chicago
Contact:

application support folder

Post by Obleo » Fri Apr 28, 2006 11:11 pm

Hello,

I am second guessing this only because I am a little confused.

I need to add an application support folder with my program from the installer. I am unsure if I use the system folder- Library- application support or the user folder-Library- application support. I notice most programs I install use the system folder, but some use the user folder. Does this not matter as long as I have the path in the program to what I install to?

I assuming that the user support folder is for only that user and the system support folder is for all users on a system, not sure if I am correct with that thinking or not.

Does any one know the difference to help me figure out which one I should use.

Thanks in advance for any help.

(I edited the fact I forgot to mention Library in the path, sorry)

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Sat Apr 29, 2006 12:11 am

If you want all users of that computer to have access to your program,
then use the System/Library/Application Support path. If only for a single
user, then use the Users/<username>/Library/Application Support.

If another user logs onto that computer and the files are not in the System
path, then that user will not be able to use your program. Well, they
might be able to start it if the program is in the Applications directory, but
if the support files for your program are not available, then your program
may not work.

If you don't mind different users on one computer using your program, then
just use the System path.

/System/Library/Application Support <-- All Users for this computer.
/Users/<username>/Library/Application Support <-- One user only.

-Garrett

Obleo
Posts: 174
Joined: Mon Apr 10, 2006 10:35 pm
Location: Chicago
Contact:

Post by Obleo » Sat Apr 29, 2006 12:43 am

Ok I see, Thank you for that information. :D

This really helps. Thanks again.

Post Reply

Return to “Mac OS”