PDA

View Full Version : How do I make my installer start when CD inserted



notlogan
09-17-2013, 09:54 AM
How do I make my installer app start when the CD is inserted?

linder
09-17-2013, 10:05 AM
The Autorun Windows feature handles this for you. The file to run must be specified in an AUTORUN.INF file located in the CD's root directory (see attached screenshot).

Friedrich

notlogan
09-17-2013, 01:05 PM
It doesn't work for me. What am I doing wrong???

[AutoRun]
OPEN=DataBinder Install.exe

I don't know how to post screen shots....

linder
09-18-2013, 01:06 AM
Hello,

I would suggest to use an executable name in the "8.3" form.

For example:


[AutoRun]
OPEN=setup.exe

That's the most reliable and easiest solution.

Or try to put double quotes around a LFN executable (but it all depends on the drive type, medium type, Windows version, etc.). I would use setup.exe.

Of course, this will not work on a drive where Autorun is turned off :)

Friedrich

notlogan
09-18-2013, 07:49 AM
Thanks. That seemed to work. Now I have to get that code signing cert & I should be almost ready to go....

linder
09-18-2013, 08:02 AM
PERFECT :)

Friedrich