After reading it, my initial fear was that the extension's update_url
wouldn't be respected, and we'd have to update our extension manually
as the document describes instead of relying on Chrome's built-in
extension update functionality. However, I performed a quick test
using the "Update extensions now" button on chrome://extensions/, and
it appears that the update was performed successfully. It also
appears that the update "converted" the extension from being an
external extension to being a normal one (i.e. after updating,
removing the registry key no longer uninstalls the extension).
So, before relying on this functionality, I just wanted to make sure
it was all working as intended, and wouldn't be changed in a future
release. Specifically:
1) Is it intended for extensions initially installed as external to be
able to use update_url to update themselves and become normal
extensions?
2) After this process occurs, is there any harm in leaving the
registry key referencing the old .crx file and version in place?
Thanks.
Drew
--
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.
I guess to do all this properly while maintaining the external
extension, Chrome would really have to download the updated .crx, save
it to the same location pointed to by the external extension, and
update the version in the external_extensions.json file and/or
registry. I think this could pose a problem, as the location it tries
to save to could be a read-only network location, etc.
It would be nice to be able to update an external extension in this
manner while keeping it external, though, as it would make it much
easier to uninstall programmatically.
Drew
That's good to hear... I tend to agree that it's a bit weird that an
external extension would be converted to an internal extension after
an update. However, I'm not sure what you mean by "it could instead
ask the extension for the location before the update and pass thatin". The location of the update is included in the response from the
update_url, right?
I guess to do all this properly while maintaining the external
extension, Chrome would really have to download the updated .crx, save
it to the same location pointed to by the external extension, and
update the version in the external_extensions.json file and/or
registry. I think this could pose a problem, as the location it tries
to save to could be a read-only network location, etc.
It would be nice to be able to update an external extension in this
manner while keeping it external, though, as it would make it much
easier to uninstall programmatically.
It seems at though this is already the case, and once the bug
discussed in this thread is fixed, our uninstaller will still be able
to uninstall the external extension we install, even if it's been
updated since the initial install.
Drew