Skip to content
⌘ NSIS Forum Archive

CD detect and autostart

4 posts

landgrimtham#

CD detect and autostart

hi all,

anyone know is it possible to generate a script that can autodetect and run the installer once you load it into a cd rom?
flizebogen#
Simply create a file in the root of the cd named autorun.inf. A Sample is shown below.

[autorun]
OPEN=installer.EXE
ICON=\installer.ico
atsuk#
explore some original CD's and look for AUTORUN.INF file on the CD. it should look like this:

[autorun]
open=AUTORUN.EXE
icon=ICON.ICO
name=Some name
name2=CdName