用户通过注册表从带有MSI的分布式Edge Chromium Extension中得到什么通知? [英] What notice does a user get from distributed Edge Chromium Extension with an MSI through the registry?

查看:170
本文介绍了用户通过注册表从带有MSI的分布式Edge Chromium Extension中得到什么通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为Chrome添加扩展程序的注册表项后,用户下次启动Chrome时会收到通知. Edge Chromium不会发生这种情况.

When the registry keys for an extension are added for Chrome the user is notified of this the next time they start Chrome. This does not happen for Edge Chromium.

测试-Microsoft Store中的应用-注册表安装

  1. 采用以ID为例的 amnbcmdbanbkjhnfoeceemmmdiepnbpp
  2. 使用以下内容在注册表中进行注册.

  1. Take this one for example with ID amnbcmdbanbkjhnfoeceemmmdiepnbpp
  2. Use the following to register it in the Registry.

[HKEY_CURRENT_USER\Software\Microsoft\Edge\Extensions\amnbcmdbanbkjhnfoeceemmmdiepnbpp]
"update_url"="https://edge.microsoft.com/extensionwebstorebase/v1/crx"

  • 开始边缘
  • 没有窗口通知正在安装新的扩展名. (Chrome显示一个窗口).
  • 该扩展程序已安装但已禁用.
  • 橙色小点出现在右上角约1秒钟,然后消失.见图片
  • Start Edge
  • There is no window notification that a new extension is being installed. (Chrome shows a window).
  • The extension is installed but disabled.
  • A small orange dot appears on the top right for about 1 second but then disappears. See pic
  • 这对于用户来说并不令人满意,因为这意味着他们将不得不等待Edge同步新的扩展,然后转到扩展页面以启用它. Chrome首先在右上角显示一个窗口,然后用户可以单击以启用扩展程序.仅当用户看不到或未单击窗口时,此橙色图标才会出现,但图标停留的时间足以让用户看到并单击它,如果我记得正确的话,则会将其引导至扩展页面.

    This is not satisfactory for a user as it would mean they would have to wait for Edge to sync up new extensions and then go to the extensions page to enable it. Chrome shows a window at the top right first, which the user can then click on to enable the extension. Only if the user does not see or click on the window does this orange icon appear, but the icon stays there long enough for a user to see it and click on it, which if I recall correctly leads them to the extensions page.

    1. 这是来自Microsoft还是用户界面中的错误??
    2. 我在哪里将其报告为错误?

    基于下面的答案进行编辑 我必须使用其他的Edge Chromium和Google Chrome.我上传了两个视频,介绍添加密钥后打开浏览器时扩展如何安装.

    EDIT BASED ON BELOW ANSWER I must have a different Edge Chromium and Google Chrome to you. I have uploaded two videos of how extensions install when opening the browser after the keys are added.

    这是Google Chrome浏览器的方法.您会看到收到正确的通知在没有用户交互的情况下,然后点击启用,即可启用它.

    This is the Google Chrome way. You see that you get a proper notification withOUT user interaction and clicking Enable, enables it.

    这是我的Edge Chromium(版本83.0.478.37(正式版本)(64位) )(大约一个点).

    还将密钥添加到CurrentUser Hive是它对我有用的唯一方法.

    Also Adding the keys to CurrentUser Hive is the only way it works for me.

    推荐答案

    您曾问过,"使用以下注册表安装Edge Extension时,Edge将不会显示安装进度窗口/栏来通知用户扩展程序已完全安装.虽然Chrome确实会首先在右上角显示一个窗口,然后用户可以单击以启用该扩展程序."

    •根据Edge官方文档

    • According to the Edge official document Alternate Method of Distributing Extension, we suggest registering the extension under HKEY_LOCAL_MACHINE rather than HKEY_CURRENT_USER.

    在注册表中查找或创建以下项:

    Find or create the following key in the registry:

    32位Windows:HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Edge \ Extensions

    32-bit Windows: HKEY_LOCAL_MACHINE\Software\Microsoft\Edge\Extensions

    64位Windows: HKEY_LOCAL_MACHINE \ Software \ Wow6432Node \ Microsoft \ Edge \ Extensions

    64-bit Windows: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Edge\Extensions

    •尝试导入注册表项> Start Edge>右上角出现一个小的橙色点.

    • Try to import the registry key > Start Edge > A small orange dot appears on the top right.

    它不会消失,直到用户单击它,然后出现一条消息提示用户启用或删除该扩展程序.

    It won’t disappear until User clicks it and then a message prompts User to enable or remove the extension.

    [HKEY_LOCAL_MACHINE \ Software \ Wow6432Node \ Microsoft \ Edge \ Extensions \ amnbcmdbanbkjhnfoeceemmmdiepnbpp]

    [HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Edge\Extensions\amnbcmdbanbkjhnfoeceemmmdiepnbpp]

    "update_url" = https://edge.microsoft.com/extensionwebstorebase/v1/crx

    "update_url"=https://edge.microsoft.com/extensionwebstorebase/v1/crx

    一旦安装了扩展名,扩展名状态将被禁用.我们应该手动启用它.

    once extension installed, the extension state is disabled. We should enable it manually.

    即使通过注册表安装Chrome,也不会自动启用扩展程序.因此,这是设计使然.

    Even Chrome won’t enable Extension automatically after installed through the registry. So it’s by-design feature.

    这篇关于用户通过注册表从带有MSI的分布式Edge Chromium Extension中得到什么通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆