Re: How to pass variable to preflight/Volumecheck using installer command to do installation?
Re: How to pass variable to preflight/Volumecheck using installer command to do installation?
- Subject: Re: How to pass variable to preflight/Volumecheck using installer command to do installation?
- From: Shaguo <email@hidden>
- Date: Wed, 27 Oct 2010 10:08:16 +0800
Hi all,
Thanks for the reply. I found the way that installer provides a variable COMMAND_LINE_INSTALL=1 if using installer command. So I can check this variable in the preflight script.
在 2010年10月27日 上午9:44,Shaguo
<email@hidden>写道:
I want to accomplish a silent installation using command. But currently
in preflight/volumecheck, there is already some apple scripts to display
dialog. So I want to pass a variable and check it in
preflight/volumecheck to bypass these dialogs.
26 okt 2010 kl. 11.51 skrev Shaguo:
> Is there any way to pass a variable to the preflight script using installer command to install a pkg?
/usr/sbin/installer cleans the environment, so I'm afraid that's a no go. What are you trying to accomplish?
--
Per Olofsson
System Administrator, ITS, University of Gothenburg
_______________________________________________
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
--
Thanks & Best Regards!
Email:email@hiddenYahoo:email@hidden
Blog:
http://rashaguo.appspot.com/勤奋,不断追求卓越...
_______________________________________________
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