Yes. This is expected behavior. This mechanism is designed to give
installers the ability to install extensions for Chrome and for the user to
say: I don't want this extension.

The installer can uninstall the extension by simply removing the registry
key and doing so does not leave this state=2 flag in the preference file.


On Sun, Jan 10, 2010 at 10:43, Aris <[email protected]> wrote:

> I’ve implemented uninstallation monitor NPAPI-extension.
>
> I’ve encountered one thing that looks a little strange: if I use the
> registry to specify my extension (in most cases my extension is
> installed exactly in this way) but use Uninstall button (chrome://
> extensions/) to uninstall extension then information about my
> extension in user’s Preferences file ("extensions" -> "settings" ->
> "myExtensionID" : {…} ) is not removed even if I delete registry
> entries and restart Chrome.
>
> I have noticed that field "state" (Preferences file ->"extensions" ->
> "settings" -> "myExtensionID" -> "state") changes from 1 to 2. I
> suppose that this means something like "extension was installed using
> registry, but uninstalled manually using Uninstall button". Am I
> right? Where can I find info about syntax and semantics of Preferences
> file ?
>
> After all why info about extension is not removed from Preferences
> file (when using described scenario)? Is it expected behavior or is it
> a bug?
>
> P.S.: When I say " use the registry to specify my extension" I mean
> that I add a Windows Registry key HKLM\Software\Google\Chrome
> \Extensions\<my extension id> and subkeys version and
> path=<path_to_my_crx> and restart Chrome.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Chromium-extensions" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<chromium-extensions%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.

Reply via email to