Skip to main content

I have build a package using Apple PackageMaker, this will install an application and a preference (plist) file to the current logged in user. Now I wanted to add a post-flight script to the package, which can copy the same plist (for ex: com.test.plist) form the current logged in user to other user account on a machine also to the default user template (/System/Library/user template/...../Library/preferences) so any new user account created will have same preference file copied.
I am new to scripting on Macs, please help in scripting the task.



Thank You

@rahul4.y wrote:



@ donmontalvo - Hi....The forum is really trying to help me, Thanks to all. The problem is I just don't know the scripting language and probably such a scenario would have already exists and I tried my best to google it b'fore coming to the forum. In my previous assignments, I never had a chance to learn or explore the UNIX scripting. It's a new learning curve for me....It would be great if you can suggest me some good resource/website or books for beginners on Unix scripting.


Understood, and that's fine, everyone gets here from a different place. :)



May also want to consider joining Apple's Installer-Dev mailing list. Lots of Apple (and third party vendor) engineers there.



Don


Hi Casey....Thank you for such a simple and elegant explanation, This is really helpful. I will dig much deeper into the basic of Unix.



@ MM2270 ...Thank's again for all your help and explanation :)



@ don ...Thanks for the mailing list. I am into the mailing list now.