RE: to run a small program when the DMG is mounted
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com Thread-index: AcpykOcFRUciuYr7TFOWneD0dYELaAAAT54Q Thread-topic: to run a small program when the DMG is mounted hdiutil internet-enable should do the trick... -----Original Message----- From: installer-dev-bounces+david.glover=prometheanworld.com@lists.apple.com [mailto:installer-dev-bounces+david.glover=prometheanworld.com@lists.apple.com] On Behalf Of Joshua Levitsky Sent: 01 December 2009 14:16 To: Alexander von Below Cc: Installer-dev@lists.apple.com Subject: Re: to run a small program when the DMG is mounted 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. On Dec 1, 2009, at 4:15 AM, Alexander von Below <below@mac.com> wrote:
No, by design -- and for good reason -- there is nothing like autoexec.bat on the Mac.
What exactly are you trying to do?
Alex
Am 01.12.2009 um 09:56 schrieb Mathieu Lecarme:
Is there any autoexec.bat on Mac?
Dmg is neutral, pkg can do that.
M. Le 1 déc. 2009 à 09:17, Nick Rogers a écrit :
Hi, I'm distributing the software in the form of a DMG, with the usual /Applications alias and the app. Now my requirement is to run a small program, that will be put in the DMG along with the app and alias, this program will run for a fraction of a second and will then quit. Is it possible to automatically run this small app when the DMG mounts?
Wishes, Nick
_______________________________________________ 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/mathieu%40garambrogne.n...
This email sent to mathieu@garambrogne.net
_______________________________________________ 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/below%40mac.com
This email sent to below@mac.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/jlevitsk%40joshie.com
This email sent to jlevitsk@joshie.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/david.glover%40promethe... This email sent to david.glover@prometheanworld.com Promethean Limited is a company registered in England and Wales with company number 1308938 and VAT number GB 572 2599 18 -------------------------------------------------------------------------------- Promethean Ltd and or associated and or subsidiary companies : The views expressed in this communication may not necessarily be the views held by Promethean Ltd and or associated and or subsidiary companies. This e-mail is for the exclusive use of the addressee(s). Unauthorised disclosure, copying or distribution is prohibited. This e-mail message has been swept for the presence of computer viruses. Promethean Ltd and or associated and or subsidiary companies accepts no liability for any loss resulting from this email transmission Promethean, Promethean House, Lower Philips Road, Blackburn, Lancashire, BB1 5TH, UK. _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Glover,David