RE: Installer JavaScript development question.
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