IT Mass Deployment (Non-Store)

Host the signed Pyze extension package internally and force-install it by policy, without the Chrome Web Store

Audience: IT and endpoint administrators deploying Pyze to all client machines when the extension is not installed from the Chrome Web Store or Edge Add-ons. Pyze supplies a signed package; you host it internally and force-install it by policy.

The native host is a small local helper that reads the signed-in OS username and hands the extension a hashed identifier (see Privacy note).

Two components go to every machine:

Component Deployed how
Native host (binary + preconfigured manifest) Copy to a fixed path and register (Step 1)
Extension (signed .crx + update.xml) Hosted on your HTTPS server, force-installed by policy (Steps 2 and 3), then pointed at your Pyze app and approved sites by policy (Step 4)

If your environment can install from the store, the store guide is simpler.


Step 1: Install the Native Host (Machine-Wide)

Use the package for the target OS: pyze-native-host-<customer>-windows.zip or pyze-native-host-<customer>-macos.zip. Run as Administrator or system (Intune, SCCM, Jamf).

Copy pyze-native-host-win-x64.exe and com.pyze.host.json to C:\Program Files\Pyze\, then register the manifest for both browsers:

reg add "HKLM\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.pyze.host"  /ve /t REG_SZ /d "C:\Program Files\Pyze\com.pyze.host.json" /f
reg add "HKLM\SOFTWARE\Microsoft\Edge\NativeMessagingHosts\com.pyze.host" /ve /t REG_SZ /d "C:\Program Files\Pyze\com.pyze.host.json" /f

# Create the folders; none of them exist on a fresh Mac
mkdir -p "/Library/Application Support/Pyze" \
         "/Library/Google/Chrome/NativeMessagingHosts" \
         "/Library/Microsoft/Edge/NativeMessagingHosts"

install -m 755 pyze-native-host-macos-arm64 "/Library/Application Support/Pyze/pyze-native-host"
xattr -d com.apple.quarantine "/Library/Application Support/Pyze/pyze-native-host" 2>/dev/null || true

# Register the manifest for both browsers
cp com.pyze.host.json "/Library/Google/Chrome/NativeMessagingHosts/"
cp com.pyze.host.json "/Library/Microsoft/Edge/NativeMessagingHosts/"

Use pyze-native-host-macos-x64 on Intel Macs.


Step 2: Host the Extension Package

Pyze ships pyze-<customer>-<version>.crx and update.xml, and gives you the extension ID with the package. The package is signed with a fixed key, so the ID never changes between versions, and the native host from Step 1 already trusts it.

Put both files on an internal HTTPS server that every endpoint can reach (office, VPN, Citrix):

  • The certificate must be trusted by the endpoints. Allow anonymous GET with no sign-in redirect. SharePoint, OneDrive, and Teams links do not work.
  • Serve .crx as application/x-chrome-extension. Do not use file:// or UNC paths.
  • Edit the one URL in update.xml to point at your location:
<updatecheck codebase="https://<host>/pyze/pyze-<customer>-<version>.crx" version="<version>" />

Step 3: Force-Install by Policy

Set the force-install policy with this value (extension ID, semicolon, update.xml URL):

<extension-id>;https://<host>/pyze/update.xml
Browser Policy
Chrome ExtensionInstallForcelist. GPO: Google Chrome › Extensions › Configure the list of force-installed apps and extensions. Registry: HKLM\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist, value 1
Edge ExtensionInstallForcelist. GPO: Microsoft Edge › Extensions › Control which extensions are installed silently. Registry: HKLM\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallForcelist, value 1
macOS MDM profile key ExtensionInstallForcelist (array) in com.google.Chrome and com.microsoft.Edge

Let the Browser Update from Your Server

Also set the ExtensionSettings policy, with override_update_url set to true for the Pyze extension ID. Without this setting, the browser uses the update.xml URL from ExtensionInstallForcelist for the first install only. It does not read your update.xml again, and later Pyze versions do not install.

The Pyze entry alone:

{
  "<extension-id>": {
    "override_update_url": true
  }
}

The Pyze entry with the optional browser limit, next to an entry for another extension:

{
  "<other-extension-id>": { "installation_mode": "allowed" },
  "<extension-id>": {
    "override_update_url": true,
    "runtime_blocked_hosts": ["*://*"],
    "runtime_allowed_hosts": ["*://*.your-app.example.com"]
  }
}
Browser Where to set ExtensionSettings
Chrome GPO: Google Chrome › Extensions › Extension management settings. Registry: string value ExtensionSettings in HKLM\SOFTWARE\Policies\Google\Chrome, with the JSON on one line
Edge GPO: Microsoft Edge › Extensions › Configure extension management settings. Registry: string value ExtensionSettings in HKLM\SOFTWARE\Policies\Microsoft\Edge, with the JSON on one line. The override_update_url field needs Edge 93 or later
macOS MDM profile key ExtensionSettings (dictionary) in com.google.Chrome and com.microsoft.Edge

Verify on a client

  1. Open chrome://policy and click Reload policies. The entry should be listed without error.
  2. Open chrome://extensions. Pyze should appear with the ID above and the label Installed by your organization.
  3. On chrome://policy (edge://policy in Edge), ExtensionSettings should be listed without error and show override_update_url for the Pyze ID.
  4. If the extension is missing, open the update.xml URL in the browser on that machine. It must load with no redirect or certificate warning.

Step 4: Set the App Key and Site Allow-List

This step is required. The extension is the same build for every customer, and it reports nothing until your policy sets two values: the Pyze app key and the list of sites it may collect from. Until both are set, no Pyze script is placed on any page and no data is sent.

Pyze gives you the app key. Apply both values to the same device groups as the force-install policy.

Both values go under the extension’s own policy key. Run the commands below with system rights, or deliver the same registry values with Group Policy Preferences or Intune:

reg add "HKLM\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\<extension-id>\policy" /v AppKey /t REG_SZ /d "<app-key>" /f
reg add "HKLM\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\<extension-id>\policy\AllowedSites" /v 1 /t REG_SZ /d "https://*.your-app.example.com/*" /f

For Edge, run the same two commands with Microsoft\Edge in place of Google\Chrome. For each further site, add another value under AllowedSites named 2, 3, and so on.

Deliver both values in an MDM configuration profile, in the preference domain com.google.Chrome.extensions.<extension-id> (Edge: com.microsoft.Edge.extensions.<extension-id>):

<key>AppKey</key>
<string><app-key></string>
<key>AllowedSites</key>
<array>
  <string>https://*.your-app.example.com/*</string>
</array>

Each AllowedSites entry is a site pattern with a scheme, a host, and a path. To collect from every site, use the single entry *://*/*.

Verify on a client: open chrome://policy (Edge: edge://policy) and click Reload policies. AppKey and AllowedSites should both be listed under the Pyze extension, without error.

How the list is enforced, an optional second limit enforced by the browser, and troubleshooting are in App Key and Site Allow-List by Policy.


Verify the Native Host on a Client

Open chrome://extensions (Edge: edge://extensions), turn on Developer mode, click service worker under Pyze, and reload the extension. The console should show Pyze: Native config loaded followed by User Hash: <string>.

On managed machines the service worker link is hidden until the DeveloperToolsAvailability policy is 1 under HKLM\SOFTWARE\Policies\Google\Chrome (and ...\Microsoft\Edge for Edge). On Citrix published desktops push that value with Group Policy or a Citrix WEM registry action, as a manual change on a non-persistent host is lost at reboot. Remove it again when you are done.

Any other message means the native host is not working. Native Host Troubleshooting maps each console message (not found, forbidden, Failed to start) to its cause and fix.


Updates and Uninstall

Extension: Pyze sends a new .crx and update.xml. Upload the .crx, edit the codebase URL in the new update.xml to your location exactly as in Step 2, then replace the old update.xml. Browsers update silently at their next update check. This needs the override_update_url setting from Step 3; you do not need to change any other policy. Never re-zip or modify the .crx.

If you installed an earlier Pyze version from your own server without override_update_url, add the setting before you replace update.xml, or the browsers can stay on the earlier version. You do not need to remove or install the extension again: after the setting arrives, the browser reads your update.xml at its next update check.

Native host: replace the binary at the install path.

Uninstall extension: delete the force-install entry. The browser removes the extension at the next policy refresh.

Uninstall native host (Windows): run the following, then delete C:\Program Files\Pyze\:

reg delete "HKLM\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.pyze.host"  /f
reg delete "HKLM\SOFTWARE\Microsoft\Edge\NativeMessagingHosts\com.pyze.host" /f

Uninstall native host (macOS): delete the two com.pyze.host.json files and /Library/Application Support/Pyze/.


Privacy Note

The native host reads the OS username and sends only a SHA-256 hash of it. The username itself is never sent. The hash is a stable pseudonymous identifier, so the same user gets the same ID on every machine.