Re: need help on my first install script
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com This particular package is a sub-package of a metapackage. The program ("foo") is in the sub-package's Resources folder. My preupgrade script (also in Resources) basically just does this: [preflight] #!/bin/sh $1/Contents/Resources/foo For one, double quotes around your path, in case there's a space in it. -pmb _______________________________________________ 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... At 10:17 AM -0500 5/4/07, Paul Miller wrote: I have a command-line program that needs admin privileges in my installer package's Resources folder. I want to run this program before an upgrade. But when I run my installer, it exits with an error but doesn't tell me what went wrong. What am I missing? Another tip: you can log into the installer log using the command line tool 'logger -p install.debug' This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Bierman