点击一次 - 所有用户用户

2023-09-02 20:45:14 作者:少年、玩命卟玩心~

我如何配置点击一次才能安装应用程序的所有用户。在另一个论坛上,我得到了'使用MSI - 感谢 - 但如何。 而且,第一安装的用户可能并不管理员 - 这可能是一个问题。我希望所有用户触发更新检查。 没有本地存储,这是一个WPF客户端WCF服务。

How to I configure click-once to install apps for all users. On another forum I got to 'use MSI' - thanks - but how. Also, the first installing user may not be admin - which may be a problem. And I want all users to trigger an update check. No local storage, it's a WPF client to a WCF service.

我们是XP,内部的。

推荐答案

如果您需要安装/升级电脑上的所有用户,ClickOnce是不是一种选择。 ClickOnce是指安装单个用户的应用程序没有管理权限。

If you need to install / upgrade for all users on a PC, Clickonce is not an option. Clickonce is meant for installing an application for a single user without administrative rights.

您需要创建一个MSI安装程序分发应用程序的多个用户在同一台​​机器上。有多种方法来部署和更新应用程序在客户端上,当客户端不具有管理权限。举几个例子:

You will need to create a MSI installer to distribute an application to multiple users on the same machine. There are multiple ways to deploy and update applications on clients when the client does not have administrative rights. A few examples:

宣传您的MSI在Active Directory中,安装和升级并不需要管理员权限。 使用系统中心更新发布服务器(SCUP)发布应用程序到Windows服务器更新服务(WSUS)。通过WSUS,您可以部署Microsoft更新和应用程序。无论WSUS和SCUP都可以免费下载。 使用组策略来提升安装(不推荐的解决方案!),使非管理员安装MSI的所有用户

希望这有助于。