Inno设置引用问题
在我的 inno setup 安装程序的 [Run] 部分中,我想运行 cmd 命令,但这就是问题所在。我想运行带有参数的exe, “我的程序.exe”安装 我想像这样运行,但由于它的名称中有空格,我无法在没有“”的情况下运行它,这给了我错误,因为 inno setup 也有“”。 同样我想开始我的服务 net启动“我的服务” 并遇到了同样的问题。
In my inno setup installer in [Run] section I want to run a cmd command, but here is the problem. I want to run an exe with parameters,
"My Program.exe" install
I want to run like this but since it has spaces in the name I cannot run it without "" and this is gives me error because inno setup has "" too.
Similarly I want to start my service
net start "My Service"
and got same problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否尝试过这样的事情:
根据 Inno Setup,双引号似乎是一个非常好的解决方案文档
Did you try with something like this :
The double quotes seems to be a quite good solution according to the Inno Setup documentation
也许这就是您正在寻找的:
等。
Maybe this is what you are searching for:
etc.