Re: Installer Problem
Re: Installer Problem
- Subject: Re: Installer Problem
- From: 李翯 <email@hidden>
- Date: Fri, 6 Nov 2009 09:28:01 +0800
thanks Sidney . You are welcome. I will try it. I think this work.
2009/11/6 Sidney San Martín <email@hidden>:
> Take a look at how Apple solves this problem. Download the Xcode
> installer and use Flat Package Editor (inside the PackageMaker.app
> bundle) to extract its scripts. Inside, you'll find an application
> named "Alert" which shows different alert messages and combinations of
> buttons when different environment variables are set.
>
> The install scripts run Alert.app whenever they want to show a message
> to the user. This may be a good option for you.
>
> On Mon, Nov 2, 2009 at 9:56 PM, 李翯 <email@hidden> wrote:
>> hi all!
>> I want to pop a dialog in the end of install process. what can I do?
>> I look at ADC, and known :
>> 1 javascript can pop dialog, but it pop in the beginning of install .
>> 2 installer plugin seemly help me to handle this, but plugin must
>> add a panel to Installer UI, I do not plan to show this panel.
>> 3 shell script is a way, but I cannot invoke Installer's functions
>> in the shell.
>> what can I do?
>> thanks a lot.......
>>
>>
>> 2009/11/2 李翯 <email@hidden>:
>>> Now, In UI installer, I want to pop a dialog which style like
>>> installer check script pop dialog, behind shell do something. eg,
>>> shell do a valid check, depend on this , Installer pop a dialog, tell
>>> client right or wrong .
>>>
>>>
>>>
>>>
>>> 2009/10/30 Sidney San Martín <email@hidden>:
>>>> What is the dialog for? That may determine whether an installer plugin
>>>> or a script is more appropriate.
>>>>
>>>> An installer plugin won't run at all from a command line or ARD
>>>> install, so you wouldn't have to use the COMMAND_LINE_INSTALL
>>>> environment variable. It also lets you show your dialog and other UI
>>>> within the installer window, instead of launching a separate
>>>> application.
>>>>
>>>> That's something else to be aware of -- a script on its own cannot
>>>> display a dialog, it would need to launch a helper tool.
>>>>
>>>> On Thu, Oct 29, 2009 at 2:51 AM, 李翯 <email@hidden> wrote:
>>>>> environment variable COMMAND_LINE_INSTALL is real, if I UI install
>>>>> pkg, COMMAND_LINE_INSTALL is null; but i command install pkg, the
>>>>> COMMAND_LINE_INSTALL is " l " . thanks !
>>>>>
>>>>> Now , I have two choice, to complete this task. UI install will pop
>>>>> dialog, Command install not.
>>>>> one, environment variable COMMAND_LINE_INSTALL , this will write code in shell.
>>>>> two, installer plugin. this will write code in cocoa.
>>>>> which one is better? thanks a lot.
>>>>> 谢谢
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> alf
>>>
>>
>>
>>
>> --
>> 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
>>
>
--
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