Search public documentation:
This document explains how to prepare a drag and drop installer that can be used for distribution of UDK games packaged for the Mac platform.
To prepare the installer, you will need the Disk Utility app (installed by default in
/Applications/Utilities) as well as Apple's Developer Tools installed. You will also need to create an installer background image.
The installer is a disk image which, when opened, displays a window with the game icon and a shortcut to the Applications folder on top of a background image which contains a simple message instructing the user on how to install the game.
- Open the Disk Utility app from
/Applications/Utilitiesand click the New Image button in the toolbar.
- This will open a panel with properties of the new image. Enter the name, select a size big enough for your game, and select Single partition - Apple Partition Map from Partitions dropbox. Then click the Create button.
- Disk Utility will now create and mount your new disk image.
- Open the newly mounted volume in Finder and create a folder named
Backgroundin it. Then, copy your background image to this Background folder.
- Now, make sure the window with mounted volume is selected in Finder and is using icon view, then press Command + J to open the window's properties.
- In the Background section of the window select Picture, then drag your background image to the image area. The main window should now correctly show your background picture.
- To hide the Background folder, you need to open the Terminal app and use the following command:
/Developer/Tools/SetFile -a V /Volumes/Your_Volume_Name/background
/Developer/Tools/SetFile -a V /Volumes/UDKGame/background
- Drag your game to your installer's mounted volume. Then open your startup disk in Finder and create an alias to
- Select the folder.
- Choose Make Alias from the File menu. This will create "Applications alias" file.
- Drag this file to installer's volume and rename to "Applications".
- Now open window's properties once more (Command + J) and adjust Icons Size if desired and adjust the icons' positions and the window's size to fit the background image.
- To change the icon of the disk image, select it's mounted volume icon on your desktop and press Command + I to open the info window. Do the same with your game's icon.
- Click the game's icon in the newly opened info window to select it and press Command + C to copy it.
- Switch to volume's info window, select it's icon in there, and press Command + V to paste.
- The mounted volume should now have the same icon as the game.
- Back in Disk Utility, unmount the installer's disk image and then, with the disk image selected, click the Convert button. Make sure you select Compressed Image Format, then click Save. You may need to confirm replacing old file in case you chose not to use different name for compressed image.
- And that's it. Once Disk Utility is done converting, you have a nice drag and drop installer ready for distribution.
- background.png - example background image