How can Google Chrome be installed directly on webpage without ActiveX [closed]

怎甘沉沦 提交于 2020-01-01 09:59:11

问题


Does it have a magic?
When I click download button on the webpage, then Google Chrome is downloaded and installed.
It doesn't use ActiveX. And it doesn't even require UAC window in the Vista or later.
How can it be possible?

Please let me know how to make this.
I'd like to make my programs like this.


回答1:


Chrome uses google's project omaha, which is an system that uses clickonce to bootstrap a generic installer engine. That installer is then used to install chrome (they also use it for Google Earth).

If you want to use omaha in your app, the source is available under the Apache License 2.




回答2:


It uses ClickOnce deployment. http://msdn.microsoft.com/en-us/library/t71a733d.aspx




回答3:


UAC isn't involved as the installer does not require elevation; it doesnt use any folders/registry keys that the current user does not already have read/write permissions on. For example mine is installed in C:\Users\alex\AppData\Local\Google\Chrome\Application\chrome.exe not Program Files.

If you get a seamless download, you probably have the googleupdate service running.



来源:https://stackoverflow.com/questions/6315906/how-can-google-chrome-be-installed-directly-on-webpage-without-activex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!