Re: Background graphics for DMGs (again)
Re: Background graphics for DMGs (again)
- Subject: Re: Background graphics for DMGs (again)
- From: Iceberg-Dev <email@hidden>
- Date: Fri, 5 Mar 2010 23:47:49 +0100
On Mar 5, 2010, at 8:16 PM, Kevin Brock wrote:
Is there any new info on this topic? We've run into problems
setting custom backgrounds on 10.6 even for use on 10.6. We've
seen several variations on the steps, and none of them are working
for us.
We've tried setting the image using the view properties (cmd-J),
we've tried setting the background using code like this (from a
script posted by Paul Sanders:
mkdir "/Volumes/$vol/.background"
cp install_resources/DMG_background.jpg "/Volumes/$vol/.background/
background.jpg"
echo '
tell application "Finder"
tell disk "'$vol'"
open
set theViewOptions to the icon view options of container
window
set background picture of theViewOptions to file
".background:background.jpg"
update without registering applications
delay 5
end tell
end tell
' | osascript
If we set it manually through the view properties it shows up--but
only until we unmount the image. Then it's gone when we remount
it. If we set it using AppleScript while we're building the image
it looks like it works, there are no error messages and all the
files are there on the resulting image, but no background image
shows up. We've tried a couple of commercial disk image builders,
and both of them had the same problem on 10.6. BG images weren't
just missing on earlier versions of the OS, they weren't there on
10.6 either.
I've seen several discussions about this on the web, but none of
them have had a resolution.
We've seen different variations of "Build your disk images on
10.5", but since our main build depends on Xcode 3.2, this isn't
really an acceptable solution. If we can't build proper images on
10.6 even for distribution on 10.6, then something's screwy...
Hoping we've missed something obvious,
Background for Disk Images are broken, kaput, par terre in Snow
Leopard. As soon as you set a background picture on a disk image in
Snow Leopard, the nightmare begins. The background picture will not
show up on Mac OS X 10.5 most of the time. Sometimes even setting it
later on 10.5 will change nothing.
And if you set your background picture on 10.5 or earlier, you will
need to take into account a different margin at the bottom of the
disk image.
Disk Images are nice but they suffer from a lot of issues when it
comes to background pictures, icon alignment and icon view mode. On
some occasions, when working on disk images, stay far away from the
walls or you could hurt yourself.
_______________________________________________
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