Re: user home directory?
Re: user home directory?
- Subject: Re: user home directory?
- From: Per Olofsson <email@hidden>
- Date: Wed, 12 Oct 2011 20:47:16 +0000
- 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden