Re: Suppress the message "This package will run a program to determine if the software can be installed."
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 On Wed, Feb 2, 2011 at 12:32 PM, Sanjay Rao <srao@noida.interrasystems.com> 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. 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/srao%40noida.interrasys... This email sent to srao@noida.interrasystems.com -- Sanjay Rao Digital Media Group, Interra Systems srao@interrasystems.com 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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: And PackageMaker does not support plugins in flat distribution. This email sent to site_archiver@lists.apple.com
participants (1)
-
Sanjay Rao