On Sun, Dec 11, 2011 at 3:05 PM, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com">newshound2@digitalmars.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 12/11/2011 2:10 PM, Peter Alexander wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Perhaps a .pkg would be more appropriate?<br>
</blockquote>
<br>
<br></div>
What we want is a one-click installer, whatever that might be on OSX.<br>
</blockquote></div><br><div>Apple's official guidelines are to use a .dmg if all the installer needs to do is copy files.  Otherwise a .pkg is required to run install scripts.  I don't believe you can write to any folder but /Applications with a .dmg (which gets an exception for writing by non-root users).</div>
<div><br></div><div>If DMD does need to run scripts or install to somewhere other than /Applications I highly recommend using Iceberg instead of PackageMaker (which in my opinion is absolutely terrible).</div>