trigger setup.exe when I mount an iso

不羁的心 提交于 2020-01-15 09:43:09

问题


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.


回答1:


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 launch gpedit.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:

  • autorun.inf doesn't work?
  • Creating an AutoRun-Enabled Application
  • Troubleshoot AutoPlay problems.
  • Windows 7 autorun does not start when CD/DVD is inserted
  • https://en.wikipedia.org/wiki/Autorun.inf
  • How to disable the Autorun functionality in Windows
  • Fix: Autoplay Not Working in Windows 10
  • Creating autorun.inf - "Application not found" error


来源:https://stackoverflow.com/questions/51169066/trigger-setup-exe-when-i-mount-an-iso

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!