Whenever I mount an ISO. i want the setup.exe to be triggered automatically. There is a autorun.inf file to handle this but still nothing works.
Contents of autorun.inf
[autorun]
open=setup.exe
what am I missing here. any registry entry I should change. Please help me out.
ISO: Have you confirmed that this is even possible from a mounted image? (Seems not to be). In other words, did you try to put your
autorun.inf
and friends on a DVD or a USB stick and then testing whether auto-run actually works in that configuration you are using? Please read the rest below before trying this.OS: What OS is this? I believe the handling is quite different in different OSs (disabled by default in Windows 7). Does auto-run / auto-play work for other drives (test with a vendor DVD that supports auto-play)? If you are on Windows 7, you can find AutoRun in the control panel (search for
auto
in top search box) - with settings for various devices. Check the settings and change as appropriate. You can also set policies on some OS editions: Wayback engine recovered link (method 2). Essentially you launchgpedit.msc
(which is not available on some OS editions, such as home edition).Security Software: What security software are you running? Many security suites disable all auto-run and auto-play features of Windows - and for good reason. This used to be a leading malware vector - which is obviously a well known issue.
Some Links: