如何为所有用户静默安装NSIS可执行文件 [英] How to Install an NSIS Executable Silently For All Users

查看:520
本文介绍了如何为所有用户静默安装NSIS可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个NSIS安装程序可执行文件,我想为所有用户静默安装.我知道我可以通过/S参数来进行无提示安装.问题是安装程序的默认选项是仅为当前用户安装.如何从命令行更改此选项:

I have an NSIS installer executable which I would like to install silently for all users. I know I can pass the /S argument to do a silent install. The problem is that the default option for the installer is to install only for the current user. How can I change this option from the command line:

installer.exe /S

推荐答案

事实证明,对于此特定安装程序,您可以通过:

It turns out that for this particular installer you can pass:

/ALLUSERS=1

ALLUSERS是标准的MSI属性.我没有在NSIS中找到有关此属性的任何文档,因此,似乎是该特定安装程序的开发人员添加了此文件.

ALLUSERS is a standard MSI property. I did not find any documentation for this property in NSIS, so it looks like the developers of this particular installer added this.

这篇关于如何为所有用户静默安装NSIS可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆