Re: [Slightly OT] Disk Image Background
Re: [Slightly OT] Disk Image Background
- Subject: Re: [Slightly OT] Disk Image Background
- From: David Remahl <email@hidden>
- Date: Thu, 01 Jan 1970 01:34:42 +0100
>
I'm trying to "package" my app for deployment and want to use a custom
>
background picture for the window that appears when the user double-clicks
>
the volume that appears after being mounted from a .dmg file.
>
>
The picture (a jpeg) appears in my disk image (having been set in the Show
>
View Options window from the Finder; selecting the Picture radio button in
>
the Background section.
>
>
However, after ejecting the image and sending it to another computer, the
>
picture is gone. I assume that the picture is stored somewhere on my
>
system and not with the folder or volume. How can I make the picture stick
>
with the volume?
>
>
TIA.
>
>
Simon
Move the file onto the diskimage, and select that copy as your bg image in
Finder. Now, fire up the terminal and type:
/Developer/Tools/SetFile -a V /Volumes/YourDmg/YourImage.jpg
Eject the image and reinsert it and make sure that the image is there and
that the image file is invisible.
/ david
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.