How do I install chrome extensions using local crx files

XuHao
New Contributor II

As the title says, my client's computer can't access google, so I have to find a way to install an extension for these devices, trying to manually drag in crx files is feasible, but it requires an administrator to manually do it on each device, which seems too stupid, do you have any good ideas?

4 REPLIES 4

Shyamsundar
Contributor

you can either use the Key to install the Extensions by deploying the custom payload from JAMF 

XuHao
New Contributor II

Yes, I am using the mandatory install and Allowed install list options, for some reason, but I do not have the required extension installed on Chrome, can you help me check?

<dict>
<key>ExtensionAllowedTypes</key>
<array>
<string>extension</string>
<string>hosted_app</string>
<string>legacy_packaged_app</string>
<string>platform_app</string>
<string>theme</string>
<string>user_script</string>
</array>
<key>ExtensionInstallAllowlist</key>
<array>
<string>egaejpfbkjamgheoingidhokbfnidlpi</string>
</array>
<key>allowed_extensions</key>
<array>
<string>InformationProtection@symactec.com</string>
</array>
<key>ExtensionInstallForcelist</key>
<array>
<string>egaejpfbkjamgheoingidhokbfnidlpi</string>
</array>
<key>ExtensionInstallSources</key>
<array>
<string>https://presales.obs.cn-east-3.myhuaweicloud.com/tmp/egaejpfbkjamgheoingidhokbfnidlpi.crx</string>
</array>
<key>ExtensionInstallWhitelist</key>
<array>
<string>egaejpfbkjamgheoingidhokbfnidlpi</string>
</array>
<key>ExtensionSettings</key>
<dict>
<key>egaejpfbkjamgheoingidhokbfnidlpi</key>
<dict>
<key>installation_mode</key>
<string>allowed</string>
<key>override_update_url</key>
<boolean>true</boolean>
<key>update_url</key>
<string>https://presales.obs.cn-east-3.myhuaweicloud.com/tmp/egaejpfbkjamgheoingidhokbfnidlpi.crx</string>
</dict>
</dict>
<key>PayloadDisplayName</key>
<string>Google Chrome</string>
<key>PayloadIdentifier</key>
<string>com.google.Chrome.512E1273-3D78-4A86-A453-F153F4409C57</string>
<key>PayloadType</key>
<string>com.google.Chrome</string>
<key>PayloadUUID</key>
<string>655B4DBF-8B89-4786-84C7-C669641C8D17</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>

Shyamsundar
Contributor
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>ExtensionInstallForcelist</key>
    <array>
      <string>egaejpfbkjamgheoingidhokbfnidlpi</string>
    </array>
  </dict>
</plist>

XuHao
New Contributor II

Thank you Shyamsundar

This configuration file is very simple and effective, provided that the device can connect to the Google Store, which unfortunately is not available in the customer's environment, so we have to install the extension with a local crx file.