autorun.inf doesn't work?

Feytality picture Feytality · Sep 26, 2012 · Viewed 25.3k times · Source

So I have an autorun.inf file that looks like this:

[AutoRun]
open=Server.exe
icon=Logo.ico
label=XXXXXX
action=Install Server

It gets the Icon and Label correctly, but it does not add "Server.exe" and it's text to the autoplay USB dialog...

Server.exe is top-level.

Any clues why that would be? Thanks!

Answer

Stephen Niedzielski picture Stephen Niedzielski · Sep 27, 2012

What do you mean by "it's text"? Maybe you can try starting from a working configuration that does what you want. For example, I burned an Ubuntu 10 ISO to a thumbdrive:

[autorun]
open=wubi.exe --cdmenu
icon=wubi.exe,0
label=Install Ubuntu

[Content]
MusicFiles=false
PictureFiles=false
VideoFiles=false

This shows an icon and displays the text "Run wubi.exe" with "Publisher not specified" underneath it in W7. In XP, it immediately launches wubi.exe without an autoplay prompt. If you can't repro the above, maybe your system settings have drifted from the default. Wikipedia has a pretty great article on the subject which even includes the differences between OS versions and which directives are valid for which mediums (CDs, USB drives, etc).