site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AQHMiR6gE3Sbk6Mdu0Ob11ICftQJDpV5DHqA Thread-topic: user home directory? 12 okt 2011 kl. 22:36 skrev Roy Nielsen:
I want my installer to run with admin privileges, but install a file on the user's desktop that is running the install…
The user may be dynamic (not always the same user)
I can't quite wrap my head around getting this to work. Any ideas?
• If at all possible, don't - install it when the user launches your application instead. • There might not be a user running the install, and they might not have a desktop. • Users logging into the machine after your package has been installed will not get anything on their desktops. • If you despite this really want to install desktop items with your package, inspect the $USER variable in the post flight script. If it's not set, or belongs to a UID below 500, fail gracefully. -- Per Olofsson System Administrator, ITS, University of Gothenburg _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com