Hi,
If a cocoa plugin attempts to change anything in machine's
sensitive
data, it needs to ask user for authorization. So what is
the point of
showing alert ?
My plug-in runs after last screen of standard installation
and does some
changes in installed files according to the user inputs.
If it tries to
change files without asking for authorization, files won't
change. I
would be happy if there is any other way(without prompting
for
authorization) to do this.
Regards,
Sanjay Rao
On 02-02-2011 13:29, Bill Coderre wrote:
>> On Feb 2, 2011, at 1:06 PM, Stephane Sudre wrote:
>>> On Wed, Feb 2, 2011 at 12:32 PM, Sanjay Rao
>>> <
email@hidden>
wrote:
>>> There should be some way to suppress this
dialog. Because it seems very
>>> annoying to any good software. Like in
windows if your installer is
>>> digitally signed or something like that, it
should not show the warning
>>> message. Please treat this email as a
suggestion.
>>>
>> The issue here is that for a package to be
signed, it needs to be a
>> flat package.
>>
>> Plugins in flat distribution are not supported on
Leopard. This is
>> supported in Snow Leopard.
>>
>> And PackageMaker does not support plugins in flat
distribution.
> The Installer has an unspoken guarantee -- that it
will not change the user's machine until the user clicks
"Install."
>
> Installer plugins are written using Cocoa. Cocoa can
change the machine. Therefore, any package, flat, bundle,
signed, unsigned, that has plugins will show the alert.
>
> Packages with distributions that use the function
"system.run()" will ALSO show the message, because
system.run() calls an external unix executable, with the
same user privileges.
>
> Flat packages that have NO plugins and do NOT use
"system.run()" CAN make that guarantee because the
distribution file does not change the disk.
>
> That's why MOST flat packages don't have the message.
>
>
> _______________________________________________
> 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
>
>
>
>
--
Sanjay Rao
Digital Media Group, Interra Systems
email@hidden
Phone: +1-408-873-1212
http://www.interrasystems.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