While you could bundle an extension by making it a part of chrome at
build time, there is no simple way to do this and code changes might
break your method in the future. If you control an installer that the
user will run, consider having the installer create a registry key
that will cause chrome to install the extension on startup. Docs on
this are available here:
http://code.google.com/chrome/extensions/trunk/external_extensions.html
Stepping back, if you tell us your overall goal we might be able to
recomend a better course of action.
Sam
>
> your help is much appreciated... thanks in advance
>
> --
> 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.
>
>
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
Take a look at the documentation for administrators on pre-installing
extensions:
http://www.chromium.org/administrators/pre-installed-extensions
Of the three options on that page, the only one that prevents users
from uninstalling an extension is "Pre-installing via Group Policy".
If you can use this, you will not have to modify chrome. The specific
policy you will want to set is:
http://www.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist
If you can not set a policy, the only way to keep users from
uninstalling an extension is to alter chrome. The method
Extension::UserMayDisable() in chrome/common/extensions/extension.h
tests that an extension from a specific source can be disabled by a
user. You could create a new install source and add its type to this
method. Making this work is not trivial, and maintaining it will be a
significant effort, so use policy if possible.
Sam
> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to chromium-extens...@chromium.org.
I have no knowledge of the policy system, so I can't give you specific
instructions on how to use it. I would start by looking at the
following page:
http://www.chromium.org/administrators/policy-templates
If you get stuck after reading the documentation, the chrome support
forum would be a good place to ask questions:
http://www.google.com/support/forum/p/Chrome/
Sam
> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to chromium-extens...@chromium.org.