• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Suppress the message "This package will run a program to determine if the software can be installed."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Sanjay Rao <email@hidden>
  • Date: Wed, 02 Feb 2011 13:48:21 -0800

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


  • Follow-Ups:
    • Re: Suppress the message "This package will run a program to determine if the software can be installed."
      • From: email@hidden
References: 
 >Suppress the message "This package will run a program to determine if the software can be installed." (From: kushal ghosh <email@hidden>)
 >Re: Suppress the message "This package will run a program to determine if the software can be installed." (From: Bill Coderre <email@hidden>)
 >Re: Suppress the message "This package will run a program to determine if the software can be installed." (From: Sanjay Rao <email@hidden>)
 >Re: Suppress the message "This package will run a program to determine if the software can be installed." (From: Stephane Sudre <email@hidden>)
 >Re: Suppress the message "This package will run a program to determine if the software can be installed." (From: Bill Coderre <email@hidden>)

  • Prev by Date: Re: Suppress the message "This package will run a program to determine if the software can be installed."
  • Next by Date: Re: Suppress the message "This package will run a program to determine if the software can be installed."
  • Previous by thread: Re: Suppress the message "This package will run a program to determine if the software can be installed."
  • Next by thread: Re: Suppress the message "This package will run a program to determine if the software can be installed."
  • Index(es):
    • Date
    • Thread