Re: How can I get path to install package from distribution script?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On mardi, septembre 18, 2007, at 12:01 PM, Yun Zhi Lin wrote: Hi all The structure of my install disk image is like: <root of disk> dist.mpkg install.configuration _______________________________________________ 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... Currently I have one distribution package and I do installation check in distribution script. During installation, I need to read the install.configuration file and do some configuration jobs based on the content of this file. If the file is missing, I would like to stop the installation and give users some information about the error. I try to check the existence of install.configuration in installation check. But unfortunately,I could not get the path to install package from distribution script.I search developer.apple.com but could not find answer. Does anyone know how to do this? Is there any other possible ways to solve my problem? If I am to believe the list of objects available through Javascript as described in the up-to-date docum... ahem in the 2005 release notes, the answer seems to be that you can not get a file reference to your distribution script. But I may be wrong. You could use an InstallationCheck shell script with a custom error id (and appropriate message error strings) to work around this. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre