Autorun for CDs run on both Mac and MS operating systems?

Hello,

I have built a website that runs from CD-ROM. In the root directory of the site it contains three extra files which enable the disc, when it is inserted into the CD drive, to fire up the web browser (on my computer this is Internet Explorer 6), open the HTML home page of the CD website, and change the CD drive's icon to an icon of my choice. To do this, I use a self-executable file called "runner". All of this works OK on any Microsoft Windows platform, but not on any Mac OS.

The three files are:
autorun.inf
runner.exe
An icon file (say, "myicon.ico")
(The icon file isn't compulsory - it can be left out if not required.)

The "autorun.inf" file can be opened in Notepad, and the text contents changed and saved to account for the name of the HTML web page that needs to be opened first in the web browser (in this case, "index.htm"). The text in "autorun.inf" therefore looks like this, containing three lines of text:
[autorun]
open=runner index.htm
icon=myicon.ico

"Index.htm", in the above case, is in the same directory as "runner.exe" (i.e. the root directory of the CD drive).

Is there anything I can do, perhaps with the addition of some sort of Mac-compliant file, so that the CD will self-start in the way described above, regardless of whether it is run in Windows or a Mac OS?

Thanks,

RMS-link

IBM ThinkPad, Windows XP

Posted on Sep 19, 2006 8:33 PM

Reply
7 replies

Sep 20, 2006 5:59 AM in response to rms-link

You can't get a CD to autorun on a Mac in the same way you can on a PC.

What you can do is to get the CD to automatically open a disc window. So that users can then just double click and open the index file.

You can modify the auto window size and look quite easily as well.

In order to do this you will need however to create a hybrid disk, Toast can do this quite easily.
User uploaded file
iFelix

Sep 20, 2006 9:55 AM in response to iFelix

Autorun pretty much only exists on Windows. It is a potential security threat, which has been exploited in the past on both Windows and Macintosh (back when Macs had this). Users can disable this feature on their Windows computers, so you can't rely on it always being present, even on Windows. Microsoft even recommends disabling it to improve security.

Here's a little info on it on Wikipedia.

Sep 20, 2006 6:43 PM in response to iFelix

Thanks for the responses to my query. Whether the question has been totally and completely answered I don't know, so I haven't checked the appropriate box. I haven't heard of software called Toast - will look it up.

(I wonder if Microsoft will disable, remove, or find a workaround for the autorun feature on their own CDs.)

Thanks,

RMS-link

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Autorun for CDs run on both Mac and MS operating systems?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.