开发者

Problem with autorun: "F:\ is not a valid Win32 application"

开发者 https://www.devze.com 2023-04-05 08:20 出处:网络
I\'m having problems with my autorun.inf: [autorun] open=setup.msi It is placed in the root of my CD, along with setup.msi. When I insert the CD, or open it from explorer, I get the message:

I'm having problems with my autorun.inf:

[autorun]
open=setup.msi

It is placed in the root of my CD, along with setup.msi. When I insert the CD, or open it from explorer, I get the message:

F:\ is not a valid Win32 application

F: is my CD dri开发者_C百科ve. What am I doing wrong?


Given that you're calling an .msi file and not an executable, perhaps you could try using shellexecute? Something like this:

[autorun]
shellexecute=setup.msi
0

精彩评论

暂无评论...
验证码 换一张
取 消