Reputation: 4492
I have just created an extension that is to be installed on chrome for video chat. I would like to bundle it with the software that I am providing. How can I create an installer that allows me to do this.
The application is written in java and the chrome extension in the html, js, css code. I also have no problem in writing the code in vb but I just cant find any links where they have information on this.
Upvotes: 1
Views: 3681
Reputation: 162
You need create exe(or vb script) as part of your installer which will create in windows registry record for your extension:
Find or create the following key in the registry:
32-bit Windows: HKEY_LOCAL_MACHINE\Software\Google\Chrome\Extensions
64-bit Windows: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Google\Chrome\Extensions
Create a new key (folder) under the Extensions key with the same name as the ID of your extension (for example, aaaaaaaaaabbbbbbbbbbcccccccccc).
In your extension key, create a property, "update_url", and set it to the value: "https://clients2.google.com/service/update2/crx" (this points to your extension's crx in the Chrome Web Store):
{
"update_url": "https://clients2.google.com/service/update2/crx"
}
Launch the browser and go to chrome://extensions
; you should see the extension listed.
More info can be found in official docs
Upvotes: 4
Reputation: 1959
If you want to install a Chrome extension via other software, this might help.
However, I believe that the user now has to approve the installation under the Wrench icon.
Upvotes: 0