As far as I understand, Alexey has an installer for a multi browser
extension\add on.
He wants the Uninstaller\Repair Installation\Reinstallation program to check
or not check a check box when a certain edition of the extension (for
example, the Chrome edition) is not installed (whether it was never
installed in the first place, or manually uninstalled).

So, no, there is no way to do that, but there was a discussion about
something like that.
If you add an NPAPI plugin that will work in the background (there will be
call to it in the background page, for example, assuming that works), will
uninstalling the extension kill it immediately, or let it execute some kind
of shutdown instructions?
If so, perhaps that is the way to go. It would require some C++
knowledge\programming and messing around and an approval from the team when
you upload to the gallery, but if that check box means a lot to you - I am
sure you can handle it. ;)

☆PhistucK


On Mon, Jan 4, 2010 at 01:43, Finnur Thorarinsson <fin...@chromium.org>wrote:

> 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 <m...@chromium.org> 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 <alexey.s.shish...@gmail.com>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
>>> chromium-extensi...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
>>> .
>>> 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 chromium-extensions@googlegroups.com
>> .
>> To unsubscribe from this group, send email to
>> chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
>> .
>> 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 chromium-extensi...@googlegroups.com.
> To unsubscribe from this group, send email to
> chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
> .
> 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 chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to