Re: How can I get path to install package from distribution script?
Re: How can I get path to install package from distribution script?
- Subject: Re: How can I get path to install package from distribution script?
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 18 Sep 2007 21:48:03 +0200
On mardi, septembre 18, 2007, at 12:01 PM, Yun Zhi Lin wrote:
Hi all
Currently I have one distribution package and I do installation check
in distribution script.
The structure of my install disk image is like:
<root of disk>
dist.mpkg
install.configuration
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.
_______________________________________________
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