tommo
tommo

Reputation: 1350

Chrome extension Native messaging

Google is phasing out the use of Npapi plugins. The preferred alternative would be Native messaging. see: http://developer.chrome.com/extensions/messaging.html#native-messaging-host In the example a windows executable is defined in the manifest file. It also states that the registry needs to be updated to reflect the name defined in the manifest. My question is, how is this all to be done from a crx file as they cannot modify the registry? Also does Google permit .exe files to be added to the crx?

Upvotes: 3

Views: 1951

Answers (1)

tommo
tommo

Reputation: 1350

A native messaging extension requires two installations. One the Crx file(extension) and second the installer which modifies the registry and installs the executable to be called by the extension. The extensions will be rendered useless unless you can bundle the two in one installation package which can be done.

Upvotes: 3

Related Questions