13

Background:

  • I manage an offline network of workstations.
  • I have written a chrome extension that needs to be in the browser for our webapp to function
  • I have published it through the chrome store (but not made it public)

Question:

  • How do I install this extension without the internet

What I've tried:

  • Windows GPO: Requires the update URL to be http://clients2.google.com/service/update2/crx
  • Windows Registry: same URL problem
  • Unpacked extensions: prompts users, requires developer tools, and disables the extension when chrome is restarted.
  • install crx: disables the extension when chrome is restarted.

Any other ideas, or ways around this? Chrome version 48.

Matt Ruge
  • 191
  • 1
  • 2
  • 8

4 Answers4

10

I was able to do this on a regular chrome installation by doing the following:

  1. Download the extension in crx format - how to download a crx file from the chrome web store for a given id
  2. Unzip the crx file
  3. I had to rename the _metadata folder to metadata
  4. Open the chrome extensions page
  5. Enable Developer mode
  6. Click "Load unpacked extension..."
  7. Select the unzipped folder

This worked for me when I needed to install Advanced REST client.

Community
  • 1
  • 1
James Dev
  • 101
  • 2
  • His has 2 critical problems: 1) no autoupdate mechanism, 2) on every restart, a user be warned that he/she has unpacked extensions. Not very suitable for wide deployment. – Xan Mar 09 '16 at 07:46
  • @Xan - Very good points, not suitable for mass deployment. I have not come across the warning you described in point 2 before. I came across this question due to the title, and was after a solution that would allow me to offline install extensions. I agree that this does not answer the original posters question adequately. – James Dev Mar 14 '16 at 02:46
7

I have just:

  • Downloaded the add-on CRX file using http://crxextractor.com/

  • Opened the "extensions" page on Chrome.

  • Drag-and-dropped the CRX file onto the "extensions" page.

Ahmad Boorghany
  • 649
  • 6
  • 4
2

I got it to work actually, sadly forgot about this post until now.

I had the Business version installed as @gerardnimo suggested.

What I wound up doing is

1) setup and IIS server to serve both the CRX and the update xml. based on this guide. https://developer.chrome.com/extensions/autoupdate

2) Then i was able to install the extension via group policy.

Matt Ruge
  • 191
  • 1
  • 2
  • 8
  • Hey Matt. This is the method I've used as well. However, I've noticed that while it works for the initial install, it won't perform the auto update. Everything I read online indicates that the update needs to be done through the webstore. Or, it needs to be done "manually" by uninstalling the extension (remove group policy/restart chrome) then reinstalling the new version (add back group policy/restart chrome). Have you encountered this issue? – blissfool Dec 12 '18 at 15:59
  • @blissfool Well, we haven't updated the extension since the initial deployment. But from what I've read, as long as you update the extension ID in the XML, and point it to a new CRX, I think it should install the new one. But it will be hard to test in our environment, we only use the extension for our VDI non-persistent vms. So the extension only survives for one session – Matt Ruge Feb 14 '19 at 15:33
1

Here is a thread that I've found. He suggests that you can use Google Chrome for Business.

Since September 3, 2015, Installing Chrome extensions off-line no longer work (and here ) due to Google trying to prevent malicious extensions being downloaded and installed. To install an extension off-line today, require you to install a signed pre-packaged full Chrome install, using Googles Chrome for Business. This functionality is controlled by a policy list. Or according to this post, you can use their Dev or Canary channels to run any extension. Their latest builds can be found here

Community
  • 1
  • 1
gerardnimo
  • 1,444
  • 8
  • 10