autorun.inf - not showing my program in the list of options?

2

I have a program thats called myApp.exe

My inf file is this:

[autorun]
open=myApp.exe
action=Run myApp
icon=myApp.exe
label=myApp

The icon works and the label. But it won't show the .exe in the list of options when you plug the USB drive in. Everything is in the root. Any ideas?

James MV

Posted 2012-05-08T02:10:56.307

Reputation: 121

Answers

1

Autorun.inf files are handled differently in Windows 7 to improve security. Only removable optical media, i.e. type DRIVE_CDROM, can specify an AutoRun (open) task.

iglvzx

Posted 2012-05-08T02:10:56.307

Reputation: 21 611

I know it won't actually execute the program. But I just wanted it to appear on the list of options along with things like Import pictures and videos and Open folder to view files. Is this not possible anymore? – James MV – 2012-05-08T12:08:25.567

That is correct. It will not appear on the list. – iglvzx – 2012-05-08T14:13:18.233