Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 8 of 8

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 ...


  1. #1
    wadewu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    10

    Default could chrome extension be installed from command line or background?

    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~

  2. #2
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    that would be interesting since I can simply install all extensions with a batch file

  3. #3
    wadewu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    10

    Default

    the version I'm now running is 4.0.249.89 (38071). What does your batch file look like?

  4. #4
    PAEz's Avatar
    PAEz is offline Moderator
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    656

    Default

    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

  5. #5
    wadewu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    10

    Default

    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~

  6. #6
    PAEz's Avatar
    PAEz is offline Moderator
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    656

  7. #7
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    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 01: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

  8. #8
    wadewu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    10

    Default

    thank you, PAEz and Waha. Your information is really useful.

Similar Threads

  1. Installed OK but unable to connect to net
    By Redcliffe76 in forum Chrome Troubleshooting
    Replies: 1
    Last Post: 12-25-2009, 02:21 AM
  2. Enable Extensions Command Line Flag
    By StevePaul in forum Chrome Talk
    Replies: 3
    Last Post: 09-08-2009, 04:43 PM
  3. Chrome command lines.
    By Vensei in forum Chrome Talk
    Replies: 8
    Last Post: 08-30-2009, 09:25 PM
  4. Package not being installed
    By NicholasPufal in forum Plugins Development
    Replies: 2
    Last Post: 07-27-2009, 03:37 PM
  5. Command line parameters.
    By Waha in forum Chrome Tips & Tricks
    Replies: 1
    Last Post: 06-19-2009, 11:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •