Both Macs and PCs can be configured by an end-user to do certain things when a CD or DVD disc is inserted into a drive. This article explains how to create an autorun file.
For example ...
NOTE: Macs do not use autorun files. In general, an end-user will open and start a CD or DVD ROM program themselves. Therefore, this advice is for creating discs for PC users.
Cross platform discs You can create a cross platform hybrid disc which will require Mac users to open and start the CD or DVD ROM program themselves, but which will autostart on a PC. Click here for advice on cross platform Director project publishing.
A .inf autorun file is a special type of file which can be placed on a CD or DVD ROM. These file are used for 2 purposes ...
NOTE: You will need a PC to create the .inf autorun file.
You can create an autorun .inf file using a text editor on a PC. Open your editor and type ...
Substitute the correct file name for "application". If you have created a Director projector you may want to call it "start.exe" or "start_here.exe")
Save the file next to your .exe file and icon naming it "AUTORUN.INF". Windows will create an INF file. (You cannot create one under Mac OS).
In addition to getting an .exe file to autorun, you may wish to attach an icon to it. Director developers will want to do this.
NOTE: You can create your icon on a Mac but you will need a PC to create the .inf autorun file.
You can do this by saving a bitmap of your icon next to your projector and attaching it with an AUTORUN.INF file. Here's how ...
If you create a hybrid PC & Mac cross platform ISO CD-ROM, the icon will attach itself to your .exe PC program file and it will autorun when the disc is inserted in a PC.