Discussion Locked

How to make a CD AutoRun?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,
I am trying to make a demo CD that I created autorun on a computer. To give you some background information the name of the file I need to run is called demo.exe and it is on the root directory of the CD. So... I have seen a few web sites that say to make a file called Autorun.inf and make it do this:
[autorun]
OPEN=DEMO.EXE

This does not work at all. Anyone who gives me the easiest way to do it will inherit these points. Explain it in English, please.. :)
Thanks,
Eddie

5 replies

by qhcomputingny

P.S: I have also downloaded two BS programs that proclaim they can do it for you but fail to do so. More confusing than helpful.. Someone please help.
Thanks Again,

Eddie

by bill_h

There are at least two scenarios that could be happening here.

The first is that you may be using only real-mode CD-ROM drivers; Windows does not play CD-ROMs automatically with real-mode drivers. The solution? Install protected-mode drivers forthe CD-ROM drive.

A second scenario is that a configuration change has been made to turn OFF the AutoPlay function. If you have Windows 95 or 98, see the topic "Disabling the Compact Disc AutoPlay Feature in Windows 95/98" in the MSDN article "How to Disable Automatic CD-ROM Running and Audio CD Playing", which is located at:

http://support.microsoft.com/support/kb/articles/Q126/0/25.ASP

Obviously, you'll want to reverse the disable procedure in order to enable AutoPlay.

To correctthis for Windows NT and 2000, refer to the MSDN article "How to Enable or Disable the CD-ROM Autorun Feature", which is located at:

http://support.microsoft.com/support/kb/articles/Q155/2/17.ASP

(If the URL above does not work, locate and remove any spaces inserted by the TechRepublic system.)

Bear in mind - if this demo is targeted for other machines, you cannot be sure that any particular machine will have the protected-mode drivers installed. In addition, even though AutoPlay is enabled by default, you cannot count on it being enabled on any particular system. You may wish to state in your documentation that the install process is designed to begin automatically, and provide instructions (i.e., "Browse to the root directory ofthe CD-ROM drive, and double-click on 'DEMO.EXE'...)

Hope this helps...

by bill_h

Regarding my last paragraph - change the last sentence to read:

You may wish to state in your documentation that the install process is designed to begin automatically, and provide instructions for the user in the event the install does *not* begin automatically (i.e., "Should the install process not begin automatically, browse to the root directory of the CD-ROM drive, and double-click on DEMO.EXE"...).

This discussion is closed to new replies.