加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c# – Google Chrome如何管理下载后自动执行安装?

发布时间:2020-12-15 06:53:31 所属栏目:百科 来源:网络整理
导读:当您下载Google Chrome时,可以检查exe的自动安装. win32 exe和.net exe如何实现? 我不知道他们能做什么,因为我以为这是一个违规的安全. 我去了这里http://omaha.googlecode.com/svn/wiki/OmahaOverview.html阅读 New Install User downloads a meta-install
当您下载Google Chrome时,可以检查exe的自动安装. win32 exe和.net exe如何实现?

我不知道他们能做什么,因为我以为这是一个违规的安全.

我去了这里http://omaha.googlecode.com/svn/wiki/OmahaOverview.html阅读

New Install

User downloads a meta-installer from a
Google website,going through standard
browser file download steps. Once the
user figures out how to launch the
meta-installer,the meta-installer
installs and runs the Omaha client. On
Windows platforms,such as Windows
Vista,with UAC,an elevation prompt
is displayed when installing
applications per-machine. The client
then begins downloading and installing
the app referenced by the micro
reference.

但是在全新的机器上,我没有安装任何元安装程序,Chrome还是自动安装.这怎么可能 ?

似乎是一个谜:没有人没有真正的线索.

关于ClickOnce,只要我看到用户显示一个要求确认的弹出窗口,这不是Google Chrome的情况.

解决方法

Google Chrome具有在后台运行以检查和应用升级的服务.它是 open source,您也可以将其用于您的应用程序.

就原始安装而言,下载页面支持三种方法:“oneclick”,“clickonce”和普通的旧版本.最后一个,您必须手动保存并运行安装程序.

第一个似乎取决于您是否安装了Google桌面,Gears或工具栏. This link描述了安装使用类似安装过程的Google视频聊天应用程序.

当您点击按钮时:

Then what the script exectued behind
is:

window.google.update.oneclick.install
(install via click)

and

location.href =
07002
(install manually )

Note the first bit of script
window.google,A new object for
google,which is created as the result
of any one of the above mentioned
google services. My Chrome Browser
(Since he is a new member) does not
know about the window.google (he knows
the default methods like
window.location,window.document)

您可以查看Chrome安装页面here的来源,或使用浏览器.但是你可以看到它使用类似的过程.

它可以返回到ClickOnce安装,这将很有可能在安装之前提示用户.但这取决于您的安全设置.

这实际上似乎是Super User Question的重复.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读