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: "Glover,David" <email@hidden>
- Date: Tue, 1 Dec 2009 14:47:47 -0000
- 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=email@hidden [mailto:installer-dev-bounces+david.glover=email@hidden] On Behalf Of Joshua Levitsky
Sent: 01 December 2009 14:16
To: Alexander von Below
Cc: email@hidden
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 <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
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden