RE: Installer JavaScript development question.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: Actg65crx10BPBQwRjiVhqNSvrOElwAARMzA
This would require to add the package as the first package in the list of choices and set the package to be invisible. This would to be tested but that could be a workaround.
Thank you for advises. Actually the problem appears before any "choice" is installed. When a choice is being installed - it is too late; the problem no longer exists. However the idea would be good for another case. Thank you. Best, - Alexander -----Original Message----- From: installer-dev-bounces+klax=musiclab.com@lists.apple.com [mailto:installer-dev-bounces+klax=musiclab.com@lists.apple.com] On Behalf Of Iceberg-Dev Sent: September 30, 2010 6:05 PM To: Installer-Dev mailing-list Subject: Re: Installer JavaScript development question. On Sep 30, 2010, at 10:04 PM, Alexander Klyuev wrote:
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.
Here it is:
system.run('/bin/chmod', 'a+x', <path_to_main_package_resources_folder_script>);
Not an API but another solution, yes.
[...]
Great idea (would be), however (!!!) how to get path to a zip? Same primary problem...
A possible solution is to make sure the script will be somewhere and that you know where this somewhere is. For instance, you could have an additional package that installs the script in /tmp. This way the permissions will be correct and you will know where the script is. This would require to add the package as the first package in the list of choices and set the package to be invisible. This would to be tested but that could be a workaround. _______________________________________________ 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/klax%40musiclab.com This email sent to klax@musiclab.com _______________________________________________ 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
participants (1)
-
Alexander Klyuev