More often than not, you will want your costumers to manually install your software. This basically means that they will only need to copy your application to some folder and run it from there, as opposed to running an installer.
This is achieved easily creating an image from a folder using Disk Utility. This method, however, forces the user to perform tedious tasks such as opening the image, extracting the files, and then deleting the original file. There is a way to automate this so you can give the user a much better experience: internet-enabling an image.
It is very easy, do this from the Terminal:
hdiutil internet-enable -yes <path_to_disk_image>
The only constraint is that the image has to be compressed or read-only for it to work.
The result? The image opens itself once it finished downloading, extracts the file and deletes itself. It is the most elegant way to deliver simple software that doesn’t require managed installs.
Technorati Tags: Developer, Programming, Terminal, Unix commands

atmac
I like nearly all of the stuff you put here, but I hope very much that people don't take up this one :/
Ricky
http://atmac.org/ November 5th, 2007 at 10:08 pm