Re: Installer Problem
Re: Installer Problem
- Subject: Re: Installer Problem
- From: Jesse Wesson <email@hidden>
- Date: Wed, 28 Oct 2009 21:17:02 +0000
- Thread-topic: Installer Problem
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
email@hidden
On 10/28/09 2:15 am, "李翯" <email@hidden> 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 <email@hidden>:
>> 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, 李翯 <email@hidden> wrote:
>>> In command : $ installer -pkg aaa.pkg -target /
>>>
>>> thanks!
>>>
>>>
>>>
>>> 2009/10/28 karan rath <email@hidden>:
>>>> Yes. Tell me somethin. How will you be invokin the installer from
>>>> command line? Will u be using any arguments?
>>>>
>>>> On 10/28/09, 李翯 <email@hidden> 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 <email@hidden>:
>>>>>> 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, 李翯 <email@hidden> 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 (email@hidden)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>> com
>>>>>>>
>>>>>>> This email sent to email@hidden
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden