首頁

目前文章總數:157 篇

  

最後更新:2024年 12月 07日

0001. C# windowsForm ClickOnce 的部署 - 是否能夠安裝到所有使用者底下?

日期:2018年 09月 10日

標籤: C# Asp.NET Framework ClickOnce Windows Forms

摘要: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.

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:

Advertise your MSI in Active Directory, installation and upgrade does not require administrative privileges. Use System Center Update Publisher (SCUP) to publish your application to Windows Server Update Services (WSUS). With WSUS you can deploy Microsoft updates, and your application. Both WSUS and SCUP are freely available for download. Use Group Policy to elevate installers (not a recommended solution!), to enable non-admins to install MSIs for all users Hope this helps.


ClickOnce 是綁定單一使用者的方式進行更新檢查,因此不行,如果windows同一作業系統底下有多個使用者,那麼該程式對於所有使用者是獨立的。
寫一個Msi做控制是個不錯的選擇……