Re: External shell script in flat packages
Re: External shell script in flat packages
- Subject: Re: External shell script in flat packages
- From: Stephane Sudre <email@hidden>
- Date: Thu, 06 Sep 2012 13:54:04 +0200
On Thu, Sep 6, 2012 at 1:36 PM, Khushneet Inder Singh <email@hidden> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden