Re: Suppress the message "This package will run a program to determine if the software can be installed."
Re: Suppress the message "This package will run a program to determine if the software can be installed."
- Subject: Re: Suppress the message "This package will run a program to determine if the software can be installed."
- From: Bill Coderre <email@hidden>
- Date: Wed, 02 Feb 2011 13:29:05 -0800
> 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