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

This is a discussion on installing a crx file from the command line within the Chrome Plugins section, part of the Google Chrome category: After I build a crx file I drag and drop it into chrome. I would like to automate it by ...


  1. #1
    oren is offline Junior Member
    Join Date
    Jul 2010
    Posts
    1

    Default installing a crx file from the command line

    After I build a crx file I drag and drop it into chrome.
    I would like to automate it by using a command line argument to google-chrome app.
    is there a way to do that?

    Thanks!

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

    Default

    Yep.
    Add load-extension to the command line so it looks something like this...
    Code:
    "C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --load-extension="C:\Classic Blue Theme - NonAero"
    ....if you want to test a theme while you have chrome open then add a profile (using user-data-dir) to the command line like this....
    Code:
    "C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --user-data-dir="c:\Themeing" --load-extension="C:\Classic Blue Theme - NonAero"
    ...this will make it load chrome using the profile at c:\Themeing (it will create a profile in the directory if there isnt one) and use the theme you pointed it at. This will make chrome load a new instance with the theme so it doesnt interfere with the one your using and is great for taking screenshots as it wont show your bookmarks, history,etc.

  3. #3
    SifJar is offline Member
    Join Date
    May 2009
    Posts
    99

    Default

    If you want to actually install a crx, rather than load an unpacked extension, just add the path to the crx after the path to Chrome, like this:

    Code:
    "C:\Documents and Settings\{user}\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" C:\extensions\example.crx

Similar Threads

  1. Error: "using an unsupported command line (no sandbox)
    By OchoDirko in forum Chrome Troubleshooting
    Replies: 3
    Last Post: 10-26-2010, 08:41 AM
  2. Replies: 7
    Last Post: 03-15-2010, 06:48 AM
  3. Replies: 0
    Last Post: 12-13-2009, 09:59 PM
  4. Enable Extensions Command Line Flag
    By StevePaul in forum Chrome Talk
    Replies: 3
    Last Post: 09-08-2009, 04:43 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
  •