I've developed an google chrome, but I have to manually install it by double click on it or opening it with chrome browser. I want to install in from command line or from background.
Does any body know how to?
Thank you~
This is a discussion on could chrome extension be installed from command line or background? within the Plugins Development section, part of the Chrome Plugins category: I've developed an google chrome, but I have to manually install it by double click on it or opening it ...
I've developed an google chrome, but I have to manually install it by double click on it or opening it with chrome browser. I want to install in from command line or from background.
Does any body know how to?
Thank you~
that would be interesting since I can simply install all extensions with a batch file
the version I'm now running is 4.0.249.89 (38071). What does your batch file look like?
You can find a list of most of the command line switch's from here.....
http://src.chromium.org/svn/trunk/sr...me_switches.cc
...the one you want is --load-extension, use it like this...
chrome.exe --load-extension="C:\somethingorother"
the profile switch is also usefull for developing....
--user-data-dir=c:\user
oh. Maybe I didn't describe my question clearly. I am developing a extension which will be released with a software to the customers. When the software is being installed, the installer could automatically install this extension for the customer, and the customer needs to do nothing.
We installed a FF extension by just running some scripts, but for Chrome extension, I don't know how to do that~
Its possible....
http://code.google.com/chrome/extens...xtensions.html
....and the group thread that lead me to it.....
http://groups.google.com/a/chromium....c3b080a43d7149
Weird! O.o There used to be a command line flag for installing them, I guess they removed it in favor of a more annoying approach.
Also, I THINK you can force installation by figuring out the public key, making the appropriate directory for the extension, plopping it in there, and copying the manifest into the extensions.settings section of the Preferences file.
Last edited by Waha; 03-12-2010 at 12:42 AM.
~ Projects ~
Specialized: Carapass Auction Watcher, Kongregate Chat
Libraries: bliplib
Tools: manifest syntax highlighting & snippits
~ Happy to make extensions for pay too ;D ~
Portfolio: Search and Share
thank you, PAEz and Waha. Your information is really useful.