site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: ActgAMRPmuD04BN3TJ2HKn7NZTfEKwABhOWA 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:bc@apple.com] Sent: September 29, 2010 2:04 PM To: Alexander Klyuev Cc: installer-dev@lists.apple.com 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com