简体   繁体   English

Inno Setup 静默安装

[英]Inno Setup Silent Installation

We are working on creating Setup File which can install and uninstall silently without any user intervention我们正在创建安装文件,它可以在没有任何用户干预的情况下静默安装和卸载

[Run]
Filename: "{app}\{#MyAppExeName}"; Parameters:/VERYSILENT; Flags: nowait

Still getting Message Box for selecting destination location and create desktop icon for user.仍在获取用于选择目标位置并为用户创建桌面图标的消息框。 Please help请帮忙

Is it a third-party setup you are running?它是您正在运行的第三方设置吗? You can set /SP- , /NOICONS , and /DIR="x:\\dirname" parameters then.然后您可以设置/SP-/NOICONS/DIR="x:\\dirname"参数。

If it is your own setup, there are several dialogs you can disable in the [Setup] section:如果是您自己的设置,您可以在[Setup]部分禁用几个对话框:

DisableStartupPrompt=yes
DisableDirPage=yes

For all directives see the online help对于所有指令,请参阅在线帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM