• 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: to run a small program when the DMG is mounted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to run a small program when the DMG is mounted


  • Subject: Re: to run a small program when the DMG is mounted
  • From: Iceberg-Dev <email@hidden>
  • Date: Thu, 3 Dec 2009 22:44:11 +0100


On Dec 1, 2009, at 3:16 PM, Joshua Levitsky wrote:

If you make a PKG for your install isn't there a flag for the DMG that can cause it to run the PKG on mount? I seen to recall that you can do that. Then the PKG could run the script as a preflight.

AFAIK, this only happens when you download a DMG.

But:

1. You will get the Quarantine warning.

2. A preflight script would not run because it's run when the installation is made.

3. If you're trying this with an InstallationCheck script, it won't run because you will get the Installer.app warning.

4.If you run an external script through an InstallationCheck JavaScript though, it displays a warning.

5. If the user is clever, he/she has disabled the 'open "safe" files after downloading' option in Safari.


All these restrictions exist for security reason.


_______________________________________________ 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
References: 
 >to run a small program when the DMG is mounted (From: Nick Rogers <email@hidden>)
 >Re: to run a small program when the DMG is mounted (From: Mathieu Lecarme <email@hidden>)
 >Re: to run a small program when the DMG is mounted (From: Alexander von Below <email@hidden>)
 >Re: to run a small program when the DMG is mounted (From: Joshua Levitsky <email@hidden>)

  • Prev by Date: Postflight Script Permissions
  • Next by Date: starting deamon from Post Install script error
  • Previous by thread: RE: to run a small program when the DMG is mounted
  • Next by thread: Re: Missing install receipt and script parameter in Snow Leopard
  • Index(es):
    • Date
    • Thread