• 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: "Alexander Klyuev" <email@hidden>
  • Date: Wed, 29 Sep 2010 14:55:45 -0400

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.

Thanks,
- Alexander

-----Original Message-----
From: Bill Coderre [mailto:email@hidden]
Sent: September 29, 2010 2:04 PM
To: Alexander Klyuev
Cc: email@hidden
Subject: Re: Installer JavaScript development question.

On Sep 29, 2010, at 10:36 AM, Alexander Klyuev wrote:
> Does anybody knows a way to get full path to
> <MyPackage.pkg>/Contents/Resources folder within JavaScript the
> Installer currently runs?


What are you trying to accomplish?

system.run() does not need the path. As best I can tell, you can't use
system.files.* to get to things inside your package.

It is also undocumented and likely to change based on OS version. I'm pretty
sure it is different for bundle/flat.




 _______________________________________________
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: Stephane Sudre <email@hidden>
References: 
 >Re: Installer JavaScript development question. (From: Bill Coderre <email@hidden>)

  • Prev by Date: Re: Installer JavaScript development question.
  • Next by Date: Re: Installer JavaScript development question.
  • Previous by thread: Re: Installer JavaScript development question.
  • Next by thread: Re: Installer JavaScript development question.
  • Index(es):
    • Date
    • Thread