是的ClickOnce仍然路要走winform应用程序部署?是的、要走、应用程序、ClickOnce

2023-09-03 01:00:38 作者:▓ 誮魂°

Q1? - 是的ClickOnce仍然路要走winform应用程序部署

我一直在寻找,涵盖ClickOnce部署有似乎并没有很多都在那里的书,那些都是AA几岁?

I've just been looking for books that cover clickonce deployment and there don't seem to be many at all out there, and the ones that are a a few years old?

感谢

其他注意事项重新我在做什么:

Additional notes re what I'm doing:

在一个可执行文件和一个数据库文件(源码) 在数据库(源码)需要由应用程序要更新有时(如添加表,添加列) 在数据库中的数据(这只是sqlite的文件)的需求保持整个升级过程中的

推荐答案

ClickOnce的仍然是一个了不起的技术。它负责了大量的从你身边繁重的工作,但带走了一些自定义设置,您可以使用Windows安装程序。

ClickOnce is still an amazing technology. It takes care of a large amount of heavy lifting from your side, but takes away some customizations that you can use with the Windows Installer.

直接从MS的话,克服的ClickOnce部署三个问题:

Directly from the words of MS, ClickOnce overcomes three issues in deployment:

难点更新应用程序随着微软Windows安装程序的部署,每当应用程序更新时,用户必须重新安装整个应用程序。与ClickOnce部署,可以自动提供更新。只有应用上已经更改的部分下载,然后全面,更新的应用程序从一个新的side-by-side文件夹中重新安装。

Difficulties in updating applications. With Microsoft Windows Installer deployment, whenever an application is updated, the user must reinstall the entire application; with ClickOnce deployment, you can provide updates automatically. Only those portions of the application that have changed are downloaded, then the full, updated application is reinstalled from a new side-by-side folder.

影响到用户的计算机。使用Windows安装程序部署,应用程序通常依赖于共享组件,对版本冲突的可能性;使用ClickOnce部署中,每个应用程序是自包含的,并且不能与其他应用程序干扰

Impact to the user's computer. With Windows Installer deployment, applications often rely on shared components, with the potential for versioning conflicts; with ClickOnce deployment, each application is self-contained and cannot interfere with other applications.

安全设置权限。 Windows安装程序部署需要管理员权限,只允许有限的用户安装; ClickOnce部署允许非管理用户安装并只授予那些code访问安全性应用程序所需的权限。

Security permissions. Windows Installer deployment requires administrative permissions and allows only limited user installation; ClickOnce deployment allows non-administrative users to install and grants only those Code Access Security permissions necessary for the application.

我推荐这给人一种彻底的读取: MSDN - ClickOnce部署。此外,如果这对谷歌(Chrome浏览器)不够好,这是不够好,对我们大多数人的

I recommend giving this a thorough read: MSDN - ClickOnce Deployment. Also, if it's good enough for Google (Chrome), it's good enough for most of us ;)