PDA

View Full Version : How to have auto run for a program install on a CD?



stuffed
23-02-2008, 11:17 AM
For a seniors computing group we are wanting to give them a copy of a genealogy program on a CD. How do you have it so that the setup exe runs automatically when they insert the disk?
Thanks

CYaBro
23-02-2008, 11:28 AM
Have a look at this (http://autorun.moonvalley.com/)

bevy121
23-02-2008, 11:37 AM
Open notepad and copy/paste these 2 lines in it

[autorun]
open=setup.exe

then save the file as autorun.inf

(change the "save as filetype" dropdown from text to all files first, else it will be saved as a textfile and will not work!)

place this in the root folder of CD along with your setup.exe etc

jwil1
23-02-2008, 12:42 PM
Open notepad and copy/paste these 2 lines in it

[autorun]
open=setup.exe

then save the file as autorun.inf

(change the "save as filetype" dropdown from text to all files first, else it will be saved as a textfile and will not work!)

place this in the root folder of CD along with your setup.exe etc

To have an icon appear in place of the normal one in Windows Explorer, add
icon=*filename here*.ico

To change the label of the disc, add
label=*label here*


To autorun non-EXE files (eg a PDF, HTML files etc), download this. (http://www.autoruntools.com/express/)

stuffed
23-02-2008, 01:22 PM
Thanks for your help made that file:
[autorun]
open=setup.exe
and saved as autorun.inf and then put that file and setup.exe onto a CD but does not start up when the disk is inserted. If go into Windows Explorer and click on that drive then the install starts fine.
What am I missing?
Many thanks

Speedy Gonzales
23-02-2008, 01:25 PM
Finalise it

Just as long as autorun.inf isnt in a folder, it should boot, when you eject it and put it back in the cd.

stuffed
23-02-2008, 01:36 PM
OK got it sorted - tried it on anoth PC and worked fine - closed the CD burning application and worked fine!!
Thanks for your help