Re: External shell script in flat packages
On Thu, Sep 6, 2012 at 1:36 PM, Khushneet Inder Singh <ksingh@quark.com> wrote:
Hi all,
I want to run the external shell script on the some choice. And want to use the result of script to select/unselect the choice. So far what I did is I added “Result of script” and choose that script file. And call that script with system.run(SCRIPT_NAME). Then I build the flat package. Once the package is created , I expanded it and create the “Scripts” folder and pasted the same script file, then flattened the expanded package. On running the package I am getting the error “Error while running task TEMP_FOLDER/script.sh launch path not accessible”. Are external scripts are supported in flat package?
Yes, they are supported by the flat distribution format. You can either use a script that is assumed to already be installed on the Mac or a script that is embedded in the flat distribution. Embedded scripts require Mac OS X v10.6 or later (and are not supported by PackageMaker the last time I checked). _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre