[Pythonmac-SIG] StuffIt 10 can corrupt applications packaged with py2app

Jack Jansen Jack.Jansen at cwi.nl
Thu Apr 26 12:58:23 CEST 2007

On 25-apr-2007, at 20:52, Bill Janssen wrote:

>> Christopher Barker wrote:
>>> 1) is there a point-and-click and/or drag-and-drop way to create  
>>> *.dmgs?
>> There are lots of freeware and shareware apps that do this-- 
>> FreeDMG is a
>> good one. There are also command-line wrappers for hdiutils. Just  
>> google.
> I don't know about point and click, but a simple script app could be
> wrapped around this:
> /usr/bin/hdiutil create -srcfolder SOMEDIR -volname VOLUMENAME -ov  
> It creates a dmg with SOMEDIR as the contents.

Now that this thread goes more and more offtopic I'll add something  
I've been struggling with for a while: is there a way to  
programmatically set the background image in the resulting DMG?

What I'm doing now is create an R/W DMG containing all the files plus  
the background image in a hidden folder, then mount that and ask the  
user (i.e. me:-) to set the folder background image and position the  
icons, then press return. Then the script continues, unmounting the  
image and converting to an RO compressed DMG.

I can't seem to find a way to set the folder background image through  
a shell command or applescript or anything...
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  

More information about the Pythonmac-SIG mailing list