For faster navigation, this Iframe is preloading the Wikiwand page for ClickOnce.

ClickOnce

ClickOnce微软公司开发的一门用于在网络上发布应用程序的技术[1]。于.NET框架2.0版中引入[2]

特性

ClickOnce使得用户可以从支持ClickOnce的网页中点击一个链接来运行一个程序。ClickOnce的设计目标是使得应用程序的启动和升级更加容易。

ClickOnce的安装是把文件复制到用户的配置文件下,所以不需要管理员权限,对系统的影响也比较小。.Net对ClickOnce程序采取的安全策略是基于启动位置,在默认的安全设置下,从Internet启动的程序较从本地启动的程序拥有较少的权限。

ClickOnce程序可以从程序的更新位置检查是否有更新版本,并且提示用户下载和安装新的版本。

支持

集成开发环境方面,Visual Studio 2005版本起支持将Windows Forms应用程序以ClickOnce方式发布[3](Visual C++应用程序除外[4])。Visual Studio 2008版本起支持将Windows Presentation Foundation应用程序以ClickOnce方式发布[5]

在浏览器方面,Internet Explorer6及更高版本支持从链接启动ClickOnce程序。FireFox并不内建对ClickOnce的支持,不过可以通过安装一些插件来支持ClickOnce[6]。.Net框架3.5 SP1版本中附带一个用于支持ClickOnce的Firefox插件Microsoft .NET Framework Assistant。[7]而在2009年10月16日,Mozilla在得到微軟同意的情況下,因安全性的問題而把附加元件Microsoft .NET Framework Assistant和外掛程式Windows Presentation Foundation加入黑名單,上述元件會被強制從Firefox中無效化。兩天後,微軟證實漏洞不會影響Firefox後,Mozilla已把Microsoft .NET Framework Assistant移出黑名單。[8]

参考和脚注

  1. ^ Visual Basic 2005从入门到精通,汤涌涛、 金红仙、宋明钧著,清华大学出版社2006年出版,第47页
  2. ^ C#入门经典(第3版),Karli Watson、Christian Nagel著,齐立波译,清华大学出版社2006年出版,第454页
  3. ^ Deploying .NET applications: learning MSBuild and ClickOnce,Sayed Ibrahim Hashimi著,Apress出版社2006年出版,第32页
  4. ^ ClickOnce Deployment for Visual C++ Applications, Visual Studio 2005产品文档. [2009-10-09]. (原始内容存档于2009-12-28). 
  5. ^ Pro WPF in C# 2008: Windows Presentation Foundation with .Net 3.5,Matthew MacDonald著,Apress出版社2008年出版,第966页
  6. ^ ClickOnce and FireFox. [2009-10-09]. (原始内容存档于2010-01-18). 
  7. ^ Uninstalling the Clickonce Support for Firefox. [2009-10-09]. (原始内容存档于2009-07-01). 
  8. ^ Shaver, Mike. .NET Framework Assistant Blocked to Disarm Security Vulnerability. Mozilla Security Blog. Mozilla Foundation. 2009-10-16 [2009-10-18]. (原始内容存档于2011-07-18). 

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
ClickOnce
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?