简体   繁体   English

通过Chrome网上应用店的Windows注册表安装Chrome扩展程序

[英]Install Chrome extension through windows registry from chrome web store

I want to install a Chrome extension through the Windows Registry. 我想通过Windows注册表安装Chrome扩展程序。 I have added the new registry key like this. 我添加了这样的新注册表项。

 HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432node/Google/Chrome/Extensions/chklaanhfefbnpoihckbnefhakgolnmc  

under this I make two string values. 在此之下,我做了两个字符串值。

name            type          data
----------------------------------
update_url      REG_SZ        {"update_url": "https://clients2.google.com/service/update2/crx"}
version         REG_SZ        0.0.32.2

And then I restart the chrome but no extension is installed why ? 然后我重新启动Chrome,但没有安装扩展程序,为什么?

I read a question on stackoverflow about this but I can't understand which value I set to update_url . 我阅读了有关stackoverflow的一个问题,但我不明白我将哪个值设置为update_url here is a Question read it 这是一个阅读问题
What I done wrong ? 我做错了什么?

For better understanding about registry key please see this image. 为了更好地了解注册表项,请参见此图像。

See this image 看到这张图片

update_url should be like this update_url应该像这样

name            type          data
----------------------------------
update_url      REG_SZ        https://clients2.google.com/service/update2/crx

As mentioned in Alternative Extension Distribution Options , 替代扩展分发选项中所述

On Windows and Mac, update_URL must point to the Chrome Web Store where the extension must be hosted. 在Windows和Mac上, update_URL必须指向必须在其中托管扩展程序的Chrome网上应用店。

More information and answers to frequently asked questions regarding external extensions can be found in Alternative Extension Distribution Options . 有关“外部分机”的更多信息和常见问题解答,请参见“ 其他分机分发选项”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM