1) Open a notepad.
2) Now Write:
[autorun]
OPEN=INSTALL\Setup_filename.EXE
ICON=INSTALL\Setup_filename.EXE
Now save it as any name such as autorun.inf and not autorun.txt.And make sure that in the file type All Files is selected.
But remember! The "Setup_filename.EXE" MUST be replaced with the name of the setup file. And you also need to rember that it is not all of the setup files there are called *.exe but some are called *.msi
3) Now burn your CD/DVD with the autorun .inf file included.
4) Now set the disk in your CD/DVD drive and wait for the autorun to begin or if nothing happens just double-click on the CD drive in "My Computer".
Note:You can also run a Javascript or any batch file by this process and make it hidden. This is how a pen drive virus is made.