In article <19191854.0308210753.1a9e38e3posting.google.com >,
[email]sgopupillai[/email] (S. Gopu Pillai) wrote:
Then it won't be recognized as the Application folder anymore. Mac OS X> Hi,
> I am writing an application in which I need to install it in
> Applications Folder. The problem is, In Jaguar the Applications Folder
> can be renamed as easily as any other folder(With admin Login). Mac OS
> 10.1 does not allow renaming of Applications folder. But through
> terminal, logging in as root user one can rename it.
expects it to be /Applications. On foreign systems, the name is
translated only when it's displayed, the actual folder name does not
Because apart from it's name and location, it has no way of finding it !> For locating the Applications folder I am using
> FindFolder(). I am passing 'kLocalDomain' as the first parameter and
> 'kApplicationsFolderType' as the second parameter. But after renaming
> applications folder, this API failed to detect Applications folder.
For now, it is safe to assume that the folder is /Applications. Apple's> This seems to be limitation of the API. Please help.
own installer makes that assumption, and breaks if the folder is moved
Patrick Stadelmann <Patrick.Stadelmannunine.ch>