Autorun is controlled by a small text file in the root of the DVD called autorun.inf which contains, amongst other things, pointers to the icon the DVD should show in Explorer, and the program that should be run upon insertion.
What you use to create the program that gets executed is entirely up to you and should be what you are most comfortable with.
A few things to remember when creating the program:
- It should not require any additional software or libraries to be installed
- It should not require installation itself but run 'in place' from the DVD
Historically a number of popular systems have been used to create autorun software:
- Adobe Shockwave
- Macromedia Director
It is also possible to 'autorun' a web page and create the application entirely in HTML and Javascript.