• 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: Packages - installing to current user's home directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packages - installing to current user's home directory


  • Subject: Re: Packages - installing to current user's home directory
  • From: Mike Pullen <email@hidden>
  • Date: Wed, 15 Mar 2017 15:47:09 -0500

Not a direct answer to your question, but rather, more questions:-- what if there is no "current user" when the package is installed, like if the system is at the login prompt when the package is installed? What will happen if another user is added to the machine after the installer is run?


Recommended reading for anyone doing any deployments: https://www.afp548.com/2010/06/03/the-commandments-of-packaging-in-os-x/


Mike


On Wed, Mar 15, 2017 at 3:35 PM, Hanspeter Harpf <email@hidden> wrote:
Dear all,

I just created with the Packages Installer a main installer which installs the application to the application folder and everything works fine.
Now I need to install in addition some files into the current user's home directory (a.k.a. ˜/).
Therefore I created based on the following guide (http://s.sudre.free.fr/Software/Packages/Q&A_3.html) a second installer (*.pkg).

I tried now to integrate that „second“ installer into my main installer and it seems that everything works fine but the files do not be installed into the current user's home directory.
To do so I used this guide (https://derflounder.wordpress.com/2013/11/03/re-packaging-installer-packages-with-packages/) to integrate my second installer into the main installer.
I could see that this is done with a RAW Package.

So my question is if anyone has some hints why it doesn’t work?

Thank you very much for any comment on this issue!
Best Regards,
Hanspeter Harpf



 _______________________________________________
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

 _______________________________________________
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

References: 
 >Packages - installing to current user's home directory (From: Hanspeter Harpf <email@hidden>)

  • Prev by Date: Packages - installing to current user's home directory
  • Next by Date: Re: Packages - installing to current user's home directory
  • Previous by thread: Packages - installing to current user's home directory
  • Next by thread: Re: Packages - installing to current user's home directory
  • Index(es):
    • Date
    • Thread