Re: installer script won't run
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Jan 2, 2007, at 3:24 PM, Brian Weitzner wrote: -- Karl Kuehn larkost@softhome.net _______________________________________________ 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... Hi, the other day, I wrote a message that I need to use "sudo" in my installer script - but apparently that isn't my problem. It appears that my installer script doesn't run at all. I named it preflight, and its executable bit is set. When I ctrl-click on my built package, and select "show package contents" and then go to Contents -> Resources, it's right there where it should be. However, it's icon is NOT that of a UNIX executable, it has the BBEdit icon (is this a problem?). I made the script's first order of business creating a directory on my desktop just to see if it's getting anywhere, and it does not do this. So it's not even running the script. Any ideas? Help is much appreciated as I am new at this. Thanks! Are you sure that the name is "preflight" and not "preflight.pl" or something like that? And have you looked at the permissions to make sure that the executable bit is set for everyone, rather than just for you? Also, do you have the "shebang" (#!/usr/bin/perl for example) line is the first line in the script, and that you have used complete paths to all executables (/bin/mkdir rather than mkdir)? Those are the usual problems. This email sent to site_archiver@lists.apple.com
participants (1)
-
Karl Kuehn