Creating autorun.inf - “Application not found” error

孤街醉人 提交于 2019-12-06 15:27:23

Windows 7-10 Ignoring Autorun.inf: This wikipedia article describes differences in the handling of autorun.inf over time: Autorun.inf. And more on AutoRun. It appears you need a real CD / DVD to test this double click. You have an ISO file? Maybe burn it to real media?

Setup.msi: Are you sure you can kick off an MSI like that? Don't you need a full msiexec.exe command line or better yet: a setup.exe wrapper which kicks off the installation? Tools such as Advanced Installer feature support to create such launchers. I think Installshield has it too. UPDATE: you probably can use an MSI file directly, since you use the shellexecute and not the Open "commands".

Previous Answers: Here is an older question relating to the use of ISO files: trigger setup.exe when I mount an iso.

Security Software: And as mentioned in the comment. Many security suites disable all auto-run and auto-play features of Windows - a well known issue that I just want to mention.

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