Automate Google Chrome extension installation

1,012 views
Skip to first unread message

Gunther Taborga

unread,
Mar 18, 2010, 2:03:55 PM3/18/10
to Chromium-extensions
Hi everyone,

I posted this same question on StackOverflow. It can be found here:
http://stackoverflow.com/questions/2472240/automate-google-chrome-extension-installation

I am working on creating a Google Chrome extension. We have it
included in an automated build system and since it is constantly being
worked on we need a solution to be able to package the extension as
a .crx file which according to http://code.google.com/chrome/extensions/packaging.html
can easily be scripted.

My question is after packaging the extension is there a known method
either through the command-line or some other programmatic way, to
install the newly packaged extension in an automated manner?

If someone knows how or has any reference material that I can be
pointed towards I would greatly appreciate any help that is offered.
Thank you.

Adam Shannon

unread,
Mar 18, 2010, 3:16:40 PM3/18/10
to Gunther Taborga, Chromium-extensions
Do you mean like what auto update does? The gallery automatically
includes an auto update link and manages the updating for you. (All
you do is send it a compressed file that contains the extension.)

Otherwise I believe you can include an xml with some data about the
latest version that chrome should have (self-hosted solution).

http://code.google.com/chrome/extensions/autoupdate.html

> --
> You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to chromium-extens...@chromium.org.
> For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
>
>

--
Adam Shannon
Web Developer
http://ashannon.us

Aaron Boodman

unread,
Mar 18, 2010, 4:22:09 PM3/18/10
to Gunther Taborga, Chromium-extensions

Gunther Taborga

unread,
Mar 19, 2010, 9:36:08 AM3/19/10
to Chromium-extensions
Thank you both for your quick responses. I looked into both
autoupdating and external extensions and I believe one or the other
will fulfill my requirements. I actually didn't even see the external
extensions option until after I posted this question.

On Mar 18, 4:22 pm, Aaron Boodman <a...@google.com> wrote:
> Would external extensions help you:
>
> http://code.google.com/chrome/extensions/dev/external_extensions.html
>
> ?
>
> On Thu, Mar 18, 2010 at 11:03 AM, Gunther Taborga
>

> <gunther.tabo...@gmail.com> wrote:
> > Hi everyone,
>
> > I posted this same question on StackOverflow. It can be found here:

> >http://stackoverflow.com/questions/2472240/automate-google-chrome-ext...


>
> > I am working on creating a Google Chrome extension. We have it
> > included in an automated build system and since it is constantly being
> > worked on we need a solution to be able to package the extension as

> > a .crx file which according tohttp://code.google.com/chrome/extensions/packaging.html


> > can easily be scripted.
>
> > My question is after packaging the extension is there a known method
> > either through the command-line or some other programmatic way, to
> > install the newly packaged extension in an automated manner?
>
> > If someone knows how or has any reference material that I can be
> > pointed towards I would greatly appreciate any help that is offered.
> > Thank you.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.

> > To post to this group, send email to chromium-extensi...@chromium.org.
> > To unsubscribe from this group, send email to chromium-extensions+unsubscr...@chromium.org.

Daniel Wagner-Hall

unread,
Mar 19, 2010, 11:01:06 AM3/19/10
to Gunther Taborga, Chromium-extensions
Would it be possible to just load it from the unpacked folder using
the --load-extension flag, rather than installing it from crx?

> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to chromium-extens...@chromium.org.

Reply all
Reply to author
Forward
0 new messages