Re: Application Support folder in ~/Library
Re: Application Support folder in ~/Library
- Subject: Re: Application Support folder in ~/Library
- From: Greg Neagle <email@hidden>
- Date: Tue, 31 May 2011 11:06:59 -0700
On May 31, 2011, at 7:07 AM, Nava Carmon wrote:
> Hi,
>
> I need to install a folder in ~/Library/Application Support/MyFolder
Why?
>
> How Do I do it with PackageMaker? I have my folders tree, i.e. /Library/Application Support/MyFolder as an install item. I cannot use the option Install in user home directory only, since I use same installer to install a couple of applications to /Applications folder. How do I do it?
> Meanwhile as a workaround I install this folder in /Library/Application Support/MyFolder and then move it to ~/Library/Application Support/MyFolder, but probably there is a more straight-forward solution.
No, there's not.
How does this work if there is more than one user of the machine?
How does this work for users created after your installer runs?
How does this work when there is no user logged in when your software is installed?
If there _really_ needs to be files in ~/Library/Application Support/MyFolder for your software, it's better to have the software itself copy them from /Library/Application Support/MyFolder to the user's ~/Library/Application Support/MyFolder on first launch. This gets all users of a machine, including users created after your software was installed.
-Greg _______________________________________________
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