How do you make a CD auto run?

How do you make a CD auto run?

Create a text file using notepad or any text editor.  

Make the file name autorun.inf and save it in the root directory.

You would then copy the installation program to the same directory.

This is how the autorun.inf file should read:

[autorun]

open=start.exe setup.exe

Replace setup.exe with the name of your programs installation file.

That should do it.