I think you are missing part of it. The autorun is usually part of a file called AUTORUN.INF then add your stuff there.
As long as that is in the root directory of the CD it should start when the CD is inserted.