I'm currently working on a Microsoft Edge extension which will be deployed in an enterprise environment.
The Edge extension has been currently installed manually (and reloaded at each browser restart since it's from an unknown source).
For Internet Explorer extensions, the DLL can be registered on the system with RegAsm and a Registry tweak allows loading all add-ons (the IgnoreFrameApprovalCheck key, see this link) without any user prompt.
Is there a similar way of adding Edge extensions automatically to the browser with no user interaction?
Thank you!
At least until now (7/29/2016), installation of extensions for Microsoft Edge must be initiated and completed by the user. However, this policy may change in the future release, I'm not sure.
I think it's worth trying Add-AppxPackage. You will need:
Package should be signed because otherwise Add-AppxPackage would not work. Set-ExecutionPolicy is usually set to Restricted, and that will prevent ps1 files from running (and Add-AppxPackage is a PowerShell-only tool) — that's why you'll need to force AllSigned mode and sign your script. There's also Unrestricted mode, but it's totally not recommended.
Then you write a .ps1 script with something like
And deploy on target machines with your method of choice. Here you can find some methods of invoking it silently.
Please note that users will probably need to enable newly installed extension manually.