• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: user home directory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: user home directory?
      • From: danchik <email@hidden>
    • Re: user home directory?
      • From: Per Olofsson <email@hidden>
References: 
 >user home directory? (From: Roy Nielsen <email@hidden>)

  • Prev by Date: user home directory?
  • Next by Date: Re: user home directory?
  • Previous by thread: user home directory?
  • Next by thread: Re: user home directory?
  • Index(es):
    • Date
    • Thread