source: orange/install-scripts/mac/dmg-resources/README.txt @ 11636:310bc52a043b

Revision 11636:310bc52a043b, 1.6 KB checked in by Ales Erjavec <ales.erjavec@…>, 9 months ago (diff)

Added create-dmg-installer.sh script.

Line 
1OSX dmg installer resources
2===========================
3
4This directory contains the binary resources to create an
5Orange dmg installer.
6
7
8DS_Store
9    OSX Desktop Services folder settings.
10    Defined the folder background selection, icon positions and size,
11    Finder window position and size, ...
12    This gets copied to DMGROOT/.DS_Store
13
14VolumeIcon.icns
15    Volume icon.
16    This gets copied to DMGROOT/.VolumeIcon.icns
17
18background.png
19    The background folder image.
20    This gets copied to DMGROOT/.background/background.png
21    as specified by DS_Store.
22    Note if you change the path of the background image on the
23    dmg you must also update the create-dmg-installer.sh script
24    so it is moved to the proper place.
25
26
27Modifying the installer folder
28------------------------------
29
30The installer is nothing more then a Finder folder view
31with hidden sidebar, toolbar and statusbar.
32
33Mount an disk image in RW mode (pass the --keep-temp option to
34create-dmg-installer.sh to keep the temporary uncompressed image)
35and open the Show View Options.
36Select the Picture background you want (from the dmg itself). Hint: use
37Command-Shift-. to show hidden files in the Open dialog. From the
38View Options also select the proper icon size to match the background
39position indicators. Then move the .app and /Applications symlink
40icons to their specified place on the background.
41
42Resize the finder window (without the toolbar, sidebar, ...) so it
43fits the background. Position the window somewhere on the top left
44in the 1024, 768 rect so it can fit on small monitors.
45
46Eject the image so .DS_Store is flushed. Then re-mount it and copy the
47.DS_Store, and background image to this directory.
Note: See TracBrowser for help on using the repository browser.