[Casper] User-based shell scripts after self-service installation

Jeremy Matthews jeremymatthews at mac.com
Thu Aug 14 10:09:42 PDT 2008


Lets say you have a self-service item, iWork for example.
After iWork is installed by the user, you want to serialize iWork by  
way of either:

1) writing user defaults to that users' preference file (assume you  
would choose to add a script in casper and run after the package is  
installed)
2) Deposit a file into the users' /Library/Preferences/ directory

I can't attempt yet (our Casper is offline) - but need to continue  
working to deploy these once it is online. Does either method work?
They sure don't work in packagemaker as postinstall scripts....since  
installer runs as root it can't understand the concept of "~" outside  
of the root user itself.

Thanks,
jeremy


More information about the Casper mailing list