2015年6月9日 星期二

C# windowsForm 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做控制是個不錯的選擇......

文章來源: http://stackoverflow.com/questions/276916/click-once-all-users 

1 則留言:

  1. Slot machine casino is rigged - DrmCD
    Slot machine casino is rigged. You can find all 서산 출장샵 the information about the 이천 출장마사지 casino 파주 출장안마 games, statistics, payouts and bonuses. If you're 진주 출장샵 not impressed, try 속초 출장샵

    回覆刪除