I haven't really tried it yet but when we create a set-up using P&D Wizard and burn it to CD will it auto-start? If not how could we do it so it would have an auto-start capability?
Printable View
I haven't really tried it yet but when we create a set-up using P&D Wizard and burn it to CD will it auto-start? If not how could we do it so it would have an auto-start capability?
On your cd you need a file called "autorun.ini". In this file add this:
Code:[autorun]
shellexecute=setup.exe
Thanks! :)
no worries :)
You can also add the Icon statement to your autorun.ini to point to an icon you want so it will display that instead of the default CD Rom drive icon.
For an autorun cd put this in your autorun.ini file...
Code:[AutoRun]
OPEN=MyProgram.exe
ICON=MySubFolder\VB-Guru.ico
Isn't it autorun.INF instead of autorun.INI ??
No, .INF is used for setup details, e.g. for drivers. It is autorun.ini :)
It's should be working with .ini too because I just look at a cd and it's autorun.INF
Yes I meant .ini ;)Quote:
Originally Posted by RobDog888