• 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: Joshua Levitsky <email@hidden>
  • Date: Tue, 1 Dec 2009 09:16:01 -0500

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 <email@hidden> 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ 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

_______________________________________________ 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
_______________________________________________
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: to run a small program when the DMG is mounted
      • From: Iceberg-Dev <email@hidden>
    • RE: to run a small program when the DMG is mounted
      • From: "Glover,David" <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>)

  • Prev by Date: Re: to run a small program when the DMG is mounted
  • Next by Date: RE: to run a small program when the DMG is mounted
  • Previous by thread: Re: to run a small program when the DMG is mounted
  • Next by thread: RE: to run a small program when the DMG is mounted
  • Index(es):
    • Date
    • Thread