site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcpYE/3ZR6j3AcdkAUCj6AaKiuh3GQ== Thread-topic: Installer Problem User-agent: Microsoft-Entourage/13.2.0.090819 You can check for the presence of the environment variable COMMAND_LINE_INSTALL to determine if your installer is running in a GUI or command-line context. Jesse -- Jesse W. Wesson Development Lead Microsoft: MacBU jwesson@microsoft.com On 10/28/09 2:15 am, "李翯" <lihe2008125@gmail.com> wrote:
firstly, I can't change Installer command, example,to add argument. secondly, how I pass argument to UI Installer? final, I do in shell,example, postinstall sh, but ,Seemly, I can't get argument. because, I pass arg to installer, then installer to mysh. so ...
2009/10/28 karan rath <karan.rath@gmail.com>:
Ok. What i was suggestin is, if u can pass an argument to the installer. U can check in applescript if an argument has been passed while invokin the installer. If an argument has been used, the show the dialog. Else dont show the dialog. This is just a thought. Am not very sure how to channel the argument to the pre install script.
On 10/28/09, 李翯 <lihe2008125@gmail.com> wrote:
In command : $ installer -pkg aaa.pkg -target /
thanks!
2009/10/28 karan rath <karan.rath@gmail.com>:
Yes. Tell me somethin. How will you be invokin the installer from command line? Will u be using any arguments?
On 10/28/09, 李翯 <lihe2008125@gmail.com> wrote:
If I use an apple script application, in UI Installer will pop dialog, but Installer command will pop dialog. I donot want to it. In command install, I donot want to pop.
2009/10/28 karan rath <karan.rath@gmail.com>:
One quick solution i can think of is to use an applescript application as a pre install script. U can use it to show up dialogs as required. As far as creatin installer plugins usin xcode is concerned, u can only use them as views in ur installer and not independent dialogs.
On 10/28/09, 李翯 <lihe2008125@gmail.com> wrote: > problem : > I want to achive such function: > 1 when double click on installer, install process will pop a > dialog. > but > 2 When in commad installer, install process will not pop a dialog. > > I try to solve this: > with Installer Plugin project in the xcode, I want to pop a > dialog. but, this project seemly only create view, donot create window > (dialog) . > > -- > alf > _______________________________________________ > 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/karan.rath%40gmail. > com > > This email sent to karan.rath@gmail.com >
-- Sent from my mobile device
Life's low? http://kcool.wordpress.com makes it lighter ;)
Karan
-- alf
-- Sent from my mobile device
Life's low? http://kcool.wordpress.com makes it lighter ;)
Karan
-- alf
-- Sent from my mobile device
Life's low? http://kcool.wordpress.com makes it lighter ;)
Karan
-- alf
_______________________________________________ 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)
-
Jesse Wesson