I think Alexey is asking for an event that gets triggered when the user
manually installs an extension that was installed by Alexey's installer. The
event would trigger the Alexey's uninstaller to do some housekeeping.

However, we don't have such an event to my knowledge.

>From the outside, I can only think of two indicators of an extension being
uninstalled. I'm not at my desk, so this is from memory:

1) The user's preferences file in the Chrome profile will either remove the
entry for the extension or mark it as uninstalled
2) The extension directory (see Mohamed's email) will get removed (don't
remember if this happens immediately)

Both of these are easy to test.

The question in my mind is why you'd need to do this? Extensions don't need
to write to the Windows Installer database as a part of their installation
and as such don't need to cleanup after themselves.

Is this so that a manual uninstall removes the extension Add/Remove Programs
entry (that you added during install) -- or is there another purpose?


On Sun, Jan 3, 2010 at 14:40, Mohamed Mansour <[email protected]> wrote:

> Perhaps you can inform the user that they must close chrome browser before
> uninstalling. And your uninstall script will actually goto the users "User
> Data" directory and delete the extension folder which is just your extension
> id.
>
> C:\Users\[user]\AppData\Local\Google\Chrome\User
> Data\Default\Extensions\[extension-id]
>
> -Mohamed Mansour
>
>
>
> On Mon, Dec 28, 2009 at 7:52 AM, Aris <[email protected]> wrote:
>
>> Hello, All!
>> We now distribute bunch of extensions for popular browsers, including
>> Chrome, as part of Windows Installer package. A question that worries
>> me is about our Chrome  extension manual uninstalling - how can
>> Windows installer be notified of uninstalling Chrome exetnsion
>> manually from  [Wrench menu] > Extensions?
>>
>> Details:
>> What we need is a call to msiexec.exe with some parameters (stored in
>> Windows registry upon installing; something like  “msiexec /i
>> [ProductCode] REMOVE=ChromePlugin /qb”) when user clicks button
>> “Uninstall” on the chrome://extensions/ page – this removes Chrome
>> extension entries from Windows Installer database.
>>
>> Google Chrome version: 4.0.266.0
>> Operating System: Windows XP Professional
>>
>> 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 [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]<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