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:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=HmvvMOKAJHTWWOjLFcXDzSC2U6DnWpf/5BYQbt1o95Q=; b=YyNBl8GdN59zSpcwfsy/NBWm5+tiNnyPvqo27R7qcBoGt2QcJolBWW4ZZ683S8PSdV GSR/2uUifnn/wDk8NkZ3/pP7MS4Op75KdbniBOMWTpjFW5izM1GzdyiE7EyZymHXtfE2 bBmCQltn326nBTiIZe1HyLUadimw2+qXnAqrs= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=ZCF2hpC8yPt89b5tUwq3YbbTWJXx6SAa4aV2i82zCHCiqQj7HmT2YnbDdnxCwNA7aK WC+Y41kG8d5KNVMpHwyBUV1qHazb7GybtxqQWdPAsqCcE+5k9fLpM99a3QcDuWy5Hsfq c/iv44h5zDJo4/hGQ97i8X8WLFjbPakSVc8dc= On Sep 9, 2010, at 5:05 PM, Ed Wahl wrote: I have a metapackage containing two packages. One package installs a driver and requires root permission to run, the other installs an app and doesn't. The intent of the design was that if the root-permission component is already installed, the metapackage installer would skip it and not ask for root permission. It's how it works. 2 notes: _______________________________________________ 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... The package requiring root permission has an InstallCheck script which returns failure if the driver is already on the system. On running the meta package the InstallCheck is working and the root permission package is marked "skip", and is not re-installed. The result is that even though installation of the root permission package is skipped, the metapackage still does ask for root permission. Is that just a limitation of packagemaker, or does anyone have suggestions on how to make this work correctly? - I would rather not prevent the user from re-installing the driver if it's the same version. Because you can never know if an installed file is corrupted or not. Preventing installation of the package will prevent the user of fixing the file. - I don't understand why it is not needed to request root permission to install the application. Unless you're installing the application in a user's directory, which I doubt since you're installing a kext, the application will be installed in /Applications and will be at least root:admin (root:wheel if you follow what Apple does on Mac OS X 10.6). This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev