在CD上自动运行MSI文件

Ada*_*rce 6 windows windows-installer

有没有人有一个示例AUTORUN.INF,它可以在用户插入CD时自动启动MSI安装程序.

我确信这可以做到,但我已经谷歌搜索了很多年,并没有找到任何有效的解决方案.

更新:我有一个类似于此的AUTORUN.INF但它不会启动安装程序:

[autorun]
open=MyInstaller-1.0.0.msi
label=My CD Label
icon=MyIcon.ico
Run Code Online (Sandbox Code Playgroud)

Ray*_*Ray 6

尝试shellexecute =而不是open =

[autorun]
shellexecute=MyInstaller-1.0.0.msi
label=My CD Label
icon=MyIcon.ico