Re: to run a small program when the DMG is mounted
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