Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>To do this manually:</p> <p><strong>Method 1:</strong></p> <ul> <li>Make a folder with the files your DMG will contain.</li> </ul> <p><a href="https://i.stack.imgur.com/sOBin.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sOBin.png" alt="enter image description here"></a></p> <ul> <li>Open Disk Utility (It's in <code>/Applications/Utilities/</code>)</li> </ul> <p><a href="https://i.stack.imgur.com/Px0Zh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Px0Zh.png" alt="enter image description here"></a></p> <ul> <li>Go to File > New > New Image from Folder (<code>Cmd + Shift + N</code>)</li> </ul> <p><a href="https://i.stack.imgur.com/T2owv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T2owv.png" alt="enter image description here"></a></p> <ul> <li>Choose the folder containing you files</li> <li>Make sure "Compressed" is checked, then set where you want to save the created DMG</li> </ul> <p><a href="https://i.stack.imgur.com/cgTGZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cgTGZ.png" alt="enter image description here"></a></p> <p><a href="https://i.stack.imgur.com/Oc9m1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Oc9m1.png" alt="enter image description here"></a></p> <p><a href="https://i.stack.imgur.com/u58MR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u58MR.png" alt="enter image description here"></a></p> <p><strong>Method 2:</strong></p> <p>To do things like setting a background image can be a bit convoluted (You basically add the background image to the DMG, set the windows properties to use that image, using the command line you move the background image from <code>background.png</code> to <code>.background.png</code> to make it hidden)</p> <p>I would recommend <a href="http://www.nscoding.co.uk/" rel="nofollow noreferrer">iDMG</a>, which makes things a bit less tedious. </p> <p>You can also script the creation of DMGs using the command <code>hdiutil</code>. Something along the lines of</p> <pre><code>hdiutil create -srcfolder mydirtodmg mydmg.dmg </code></pre> <p><a href="https://i.stack.imgur.com/8pYQb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8pYQb.png" alt="enter image description here"></a></p> <p>As for the custom license agreement, you should look into the tool included with the Developer Tools "PackageMaker" - it's pretty self-explanatory. It's in <code>/Developers/Application/Utilities/</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload