site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=BZqvRk8fOkil3Pqk48VzidT6QHdrXuOmOlZQoqdiIm8=; b=hgtEIq5pXH0eMe0j9cYRDw1nvLr6AeAeHgcY1DPNH9tUKm00kulRqF/qlihBTlBZ/g 2ZmKfhRYyCqSJdBz42VL2iQU9jsZCdmxJOXhAEtTSMjRU8NqeXpHH0lWWZ+7p5ZuOu9g u8q3boADpjWNYJ/vRe0vwdajDGEQKLFvpgEJk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BeHuf2ccEMIS0Ca+VJggHrYikvX5spFFhQHWEz+KC8hKXQGo49ytuZiEOFuF/dzn9j 6aatTIZvXC9ht84qTom8McOH2c/SaPvK3y7uQ9HX+fqOcMnI94JW+WBw6gul6pvdS6vh rokqTxNW/3tMsTK66CUdYyYhDtRX50Rw0JCdY= On Wed, Feb 2, 2011 at 5:28 PM, Don Montalvo <donmontalvo@gmail.com> wrote:
Stephane Sudre <dev.iceberg@gmail.com> wrote:
On Wed, Feb 2, 2011 at 12:27 PM, Rustam Muginov <rmuginov@gmail.com> wrote:
Hello all. I am trying to create an installer, using PackageMaker, which would allow some items to be installed either into /Library or into ~/Library folder. I can build such installer, it does allow me to select between "all users" and "only current user", but it does require administrator password for both installations. If i remove "admin authorization", when the installation to the /Library would fail. Is it possible to get rid from the redundant password request while installing to "~/Library" but ask for password while installing to "/Library"?
No, it's not possible
Isn't it possible for the pkg to install into /tmp/librarystuff and then use a postflight loop script to copy into existing ~/Library as well as the User Template (for future users)?
That's how we deploy stuff that goes to all users on the Mac.
This is a possible workaround. But it has the following issues: - it hides the files that have been really installed to the installation data base. - it would not solve the admin password issue AFAIK. (having 2 packages in the same distribution: one for / and one for ~/ would not solve it either) - and, IIRC, sometimes, it can cause troubles with the receipt on some OS (I was playing with a bundle package when I experienced this). _______________________________________________ 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