Hi,

On 16 Dec 2008, at 13:14, matt.go...@agfa.com wrote:


On 16 Dec 2008, at 13:54, Dave wrote:

I don't install files into that folder, my application writes files to that location (by default, the user can change it) once installed. From the above document: "It is important to remember that the user domain (/Users) is intended for files created by the user. With the exception of the ~/Library directory, your application should never ***install*** files into the user’s home directory. In particular, you should never install files into a user’s Documents directory or into the / Users/Shared directory. These directories should only be modified by the user."

They keyword here is ***install***.


OK, so if these files are really your apps 'documents' (ie the user- driven output of your app) then they should probably go into ~/ Documents/MyApp instead of ~/MyApp by default. If they are just settings/caches/other things then they belong somewhere in ~/ Library. It is very uncommon for applications to write directly into ~/ on the Mac. (Looking on my own home folder, on a machine with multiple 3rd Party products in use for 2 years there are no (zero, zilch) non-standard folders/files that have been created by anything. By all means allow the user to define the default location.

Sorry, yes it does store them in the user's "Documents/myApp" Folder, not directly in the User's "Home" folder. I didn't take much care in writing that since it really didn't help to solve my problem. I was just pointing out that there were not stored in the User section, not the System Section.

Please note that the replies you got on this list may seem a bit snobby ("Don't put that there", "don't do that", "why do you want to do that" etc) if you are coming from another platform. Please understand that these are only intended as suggestions to help your app feel familiar to Mac users (i.e your potential customers). If you deviate too much from what they expect just to fit in with the way you do things on other platforms (which these customers have probably never used) then you will just confuse/frustrate them.

That's ok, I understand that people are trying to help and I am grateful for the discussion, if I do have anything non MacOS X (I don't think I do though) I will change it.

The thing is that none of this solves my problem! It really doesn't matter a fig if the app is installed "/Applications", or on a USB stick or wherever (apart from (maybe) not being 100% MacOSX - that can be changed later if deemed necessary). I want it to be able to install a folder containing the app and some other files *somewhere*. Whether that *somewhere* is the right place or not is another issue and one that can be dealt with after I have got this application shipped for evaluation by my boss and others. They really don't care if the files are in the right place or not they just want it see the installer working on 10.5.x.

Thanks a lot for your help
All the Best
Dave


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to