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=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=kwPdjkkf7hey3by0lSWna7NZHseTfvGHBZ6cIoQ5YW0=; b=LOQTlP8IFppJojzvYLQkc3DnwVM89EF2mdNTlCP/RFbyMBJ1NAVUH6tr5+cDxWd3f5 3hlGzNA5ZsnpEmTgxu+j0DtFIpJFffQmu0WA6rs7gc6zGMXbLMCQspM2qmB5aTaecVzk ZYkGsbKGkCQK2FGbGoT5nfSay/robYUbNbAM0= Hi, Not considering that moving installed files around after it is dropped to the disk breaks any chance of uninstalling by looking at the package bom and removing those files, why don't you run this secret script as a package postflight? Regards, Harald On Mon, Oct 24, 2011 at 5:06 PM, Michele Corum <mcorum@cisco.com> wrote:
I have an installer that requires a hidden script and a source folder to be copied to a local folder (in this case /tmp) then given the command (via Terminal or via script) "sudo ./scriptname" for the application to install correctly.
In Snow Leopard, the UID & GID for /tmp are root:admin
In Lion, the UID & GID for /tmp are root:wheel
When I set the permissions to root:admin, run the package on Snow Leopard, the installer runs and installs the application as expected. But it will not run and install on Lion.
When I set the permissions to root:wheel, run the package on Lion, the installer runs and installs the application as expected. But it will not run and install on Snow Leopard.
The application is being installed for ALL USERS, and not specifically the logged in user.
Is it possible to have 1 package to install on both Snow Leopard and Lion? If so, how would I accomplish this?
A second issue I am having is the application being installed requires a restart in Snow Leopard for it to become active. In Lion, no restart is needed.
Is it possible to create 1 package that will restart after install if Snow Leopard but will not restart after install on Lion?
At this point, I'm thinking I'll need to create two packages: 1 for Snow Leopard, 1 for Lion...not ideal by any means, but workable.
Michele Corum Macintosh Engineer/Developer aap3 at Cisco Systems, Inc. 400 East Tasman Drive, SJ12-4, F3 San Jose, California 95134 Desk 408.853.3430 Cell 925.586.6173 mcorum@cisco.com
From: Greg Neagle <greg.neagle@disneyanimation.com> Date: Mon, 24 Oct 2011 13:48:58 -0700 To: Michele Corum <mcorum@cisco.com> Cc: <installer-dev@lists.apple.com> Subject: Re: Creating pkg to install on Snow Leopard AND Lion
Question: what are you trying to use the /tmp folder for?
-Greg
On Oct 24, 2011, at 12:13 PM, Michele Corum wrote:
Hey all,
I am trying packaging an application to install on Snow Leopard AND Lion but am running into permissions issues when using the /tmp folder for installs.
With the change of permissions from Snow Leopard (root/admin) to Lion (root/wheel), what is the best way to handle this?
Michele Corum Macintosh Engineer/Developer aap3 at Cisco Systems, Inc. 400 East Tasman Drive, SJ12-4, F3 San Jose, California 95134 Desk 408.853.3430 Cell 925.586.6173 mcorum@cisco.com
_______________________________________________ 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/greg.neagle%40disneyani... ation.com
This email sent to greg.neagle@disneyanimation.com
_______________________________________________ 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/wagener%40gmail.com
This email sent to wagener@gmail.com
_______________________________________________ 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