• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Installer JavaScript development question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer JavaScript development question.


  • Subject: Re: Installer JavaScript development question.
  • From: Stephane Sudre <email@hidden>
  • Date: Thu, 30 Sep 2010 14:03:07 +0200

On Wed, Sep 29, 2010 at 8:55 PM, Alexander Klyuev <email@hidden> wrote:
> Hi Bill,
>
> I need to fix "execute" permission for my requirement scripts before
> Installer runs them.
> For some specific reason I cannot use flat package type or .dmg shield for
> my installation package
> and scripts may lose "execute" permission during deployment steps.
> This makes inst package broken and I've not found any documented ways to
> check/repair permissions.

I would tent to believe there's none because when a package is broken,
it's broken.

That being said, I don't see how only a JavaScript script would be
able to fix the permissions :
- there is no API for that.
- would you be using an external script you provide to do that, this
external script may be suffering from the same issue.

In the history of stupid ideas, I have one that is claiming for the top spot:

Provide the script as a zip archive. Unzip it from the JavaScript
script by calling a system tool. This should preserve the permissions.
 _______________________________________________
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

  • Follow-Ups:
    • RE: Installer JavaScript development question.
      • From: "Alexander Klyuev" <email@hidden>
References: 
 >Re: Installer JavaScript development question. (From: Bill Coderre <email@hidden>)
 >RE: Installer JavaScript development question. (From: "Alexander Klyuev" <email@hidden>)

  • Prev by Date: RE: Installer JavaScript development question.
  • Next by Date: Re: "execute" permission for installation package scripts.
  • Previous by thread: RE: Installer JavaScript development question.
  • Next by thread: RE: Installer JavaScript development question.
  • Index(es):
    • Date
    • Thread