Re: dmg from flat installer?
Re: dmg from flat installer?
- Subject: Re: dmg from flat installer?
- From: Allan Marcus <email@hidden>
- Date: Wed, 17 Mar 2010 08:46:48 -0600
I decided to make a drag and drop Automator workflow applications to make this easier. here it is for your enjoyment:
Just create a new workflow/application and add a Run Shell Script. Set the Pass Input: as arguments.
Only pass one item that has no spaces in the name.
for f in "$@"
do
DIRNAME=`dirname $f`
BASENAME=`basename $f`
break
done
# create a compress dmg with just the dropped file in it
# save it in the same dir as the dropped file
/usr/bin/hdiutil create -srcfolder $@ ${DIRNAME}/${BASENAME}.dmg
---
Thanks,
Allan Marcus
505-667-5666
On Mar 16, 2010, at 6:10 PM, Allan Marcus wrote:
> Got It!
>
> Thanks Greg.
>
> srcfolder in hdiutil can be a file; doesn't have to be a folder.
>
> ---
> Thanks,
>
> Allan Marcus
> 505-667-5666
>
>
>
> On Mar 16, 2010, at 5:35 PM, Allan Marcus wrote:
>
>> Hi,
>>
>> I used to use DMGConverter to drag and drop a .mpkg installer and it would make a DMG for me. Now that that new packages are not folders, drag and drop onto DMGConverter, or make a DMG from a folder in Disk Utility don't work.
>>
>> Might I ask how you make your DMGs from flat installers?
>>
>> ---
>> Thanks,
>>
>> Allan Marcus
>> 505-667-5666
>>
>>
>>
>> _______________________________________________
>> 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