Smarter Disk Images

| | Comments (2)

As of 10.2.3, it's possible to have disk images that will mount and auto copy their contents to their parent directory then unmount and move the .dmg to the trash. This was demonstrated by Safari public betas. This is done via a special flag which is set after the disk image is mastered.

I wonder how this would work for dmg files mounted from a CD-ROM. Would this be a simple/smart way to do installs?

It definitely eliminates the need for stuffit expander, particularly in conjunction with the ZLIB compressed disk image format that is supported post 10.1

Categories

2 Comments

Will said:

That would seem like a security threat to me.

Alex McHugh said:

As long as it only copies the contents of the disk image then it's just self extracting.

However I have noticed that if the contents are a .pkg or .mpkg then they are automatically run.. which is more of a concern as this could exploit security flaws in the apple installer or authorization framework.

Leave a comment

About this Entry

This page contains a single entry by Alex McHugh published on March 8, 2003 11:20 PM.

Fix Toast disk image mounting under 10.2.x was the previous entry in this blog.

Hold on... that doesn't look like a mac is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01