Internet-Enabled Disk Images

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: , , ,


 
 

One Response to “Internet-Enabled Disk Images”

  1. 4Avatars
    atmac
    For those of us who like to keep a backup of downloaded files in case of reinstall-from-scratch and other nasties, something like this would be infuriating! I *don't* want my disk images magically deleting themselves when I'm not asking them to, thank you.

    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/

Post a comment to "Internet-Enabled Disk Images"



Support MacTips

MacTips Newsletter


Random Popular Tips

Recent Comments

Recent Discussions

MacTips Poll

What level of tips would you like to see?

View Results

Loading ... Loading ...

Friends of MacTips

Subscribe to MacTips

Site Links