NSIS 静默安装更改默认选项

发布于 2024-09-04 17:20:50 字数 264 浏览 3 评论 0原文

我有一个第三方应用程序,我想从命令行静默安装。

可在以下位置获取: http://www.pptv.com/en/

该应用程序是 PPLive , 一个 NSIS 安装程序,目前在静默安装时,会安装工具栏和其他软件,完成后启动等。

在不重新打包的情况下,如何从静默命令行安装控制普通安装程序页面上的复选框选项。

有可能吗?

I have a third party application I would like to silent install from the command line.

The application is PPLive available at: http://www.pptv.com/en/

It is an NSIS installer, and currently when silently installed, installs toolbars, and additional pieces of software, launches on completion etc.

Without repackaging it, how do I control the checkbox options on the pages of the normal installer from the silent command line install.

Is it even possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

扛刀软妹 2024-09-11 17:20:50

NSIS 支持使用 /S 命令行脚本进行静默安装选项,但是,它仅设置安装脚本可以检查的标志:使用 IfSilent

此处有一个示例脚本,演示了静默安装。

NSIS supports the silent install option with the /S command line script, however, it only sets a flag that the install script can check:using IfSilent.

There is an example script here that demonstrated a silent installation.

挽手叙旧 2024-09-11 17:20:50

你无法控制组件,除非安装程序专门为其编码(通过使用“答案”文件/.ini 或在命令行上传递的某些参数)NSIS 本身只允许安装程序的作者知道它是否是是否处于静音模式,剩下的取决于他们。您必须向 PPLive 人员询问(如果他们还不支持,则要求他们添加)

You can't control the components unless the installer has been coded specifically for it (By using a "answer" file/.ini or some parameter you pass on the commandline) NSIS itself only allows the author of the installer to know if it is in silent mode or not, the rest is up to them. You would have to ask the PPLive people about it (Or request that they add it if they don't support it already)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文