How do I automatically run an application on USB attach or CD insert on Mac OS X?

Yigang Wu picture Yigang Wu · Jan 4, 2009 · Viewed 36.1k times · Source

Is there any way to automatically launch an application on USB attach or CD insert on Mac OS X? it's easy on Windows, but I found that AutoRun.Inf does not work on the Mac at all.

Answer

Sophie Alpert picture Sophie Alpert · Jan 4, 2009

You can't. Autostarting applications is impossible under Mac OS X.

The next-best thing, opening the CD folder and showing the installer icon, can be done by using (AutoOpen version 1.0) to make a .dmg which can then be burnt to a CD.