Hi Martin,
It sounds like you have a custom installer app that doesn't do any authentication, and requires that the currently-logged-in user has write permissions to everywhere you need to install?
I think the best thing would be to use PackageMaker to create a package that's installed by Apple's own Installer.app. That would be the simplest and most future-proof. PackageMaker is described here:
If you want to keep your own installer app, you will need some kind of authentication (it's best to do this even pre-Lion, to allow the software to be installed while a non-admin user is logged in). Authentication is a complicated topic, covered in-depth here:
- Paul
On Aug 9, 2011, at 5:47 AM, Martin Baker wrote: Hi Paul
Previously our FxScript installer when running on an admin account used
NSFileManager createDirectoryAtPath... and NSWorkspace performFileOperation:NSWorkspaceCopyOperation...
Unfortunately time is against us and this seems to be a bag of hurt for the simple task of copying a couple of .fxplugs and templates folders to system level. For now we'll have to go with user level only installs and give docs for how to move the fxplug and templates to system level folders.
Martin Baker ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|