torkell: (Default)
[personal profile] torkell
Google's autoupdater is a persistent little git, I'll give it that.

The old version of the toolbar is stored as C:\Program Files\Google\GoogleToolbar1.dll. What appears to happen is the updater creates GoogleToolbar2.dll, and registers that in COM. No idea if the old file is deregistered.

Plan A of reregister the old version and hope it didn't notice was doomed from the beginning. The updater saw through that attempt and behaved as normal

Plan B of the same, but then copy the old to where it expects the new and deny writes using NTFS permissions also failed. Instead of creating GoogleToolbar2.dll, GoogleToolbar3.dll was created.

Plan C, however, involves following Plan A and then using NTFS permissions to deny all modifications to the entirety of C:\Program Files\Google.
This appears to be quite successful. The updater can't really do anything if it can't create the new file, or modify or delete the old one. Worst it can do is clobber the registery settings for the toolbar. And that can probably be fixed by applying a similar ACL to HKEY_CURRENT_USER\Software\Google.

Autoupdate that, Google!

From Dom - your housemate

Date: 2006-10-17 10:28 pm (UTC)
From: (Anonymous)
Why not rename the one you want as the one it is currently? I imagine the updater is not looking at the contents of the file - so much as the *name* of the file.

Date: 2006-10-17 10:33 pm (UTC)
From: [identity profile] ralesk.livejournal.com

Yeah… my dad’s been really annoyed by this behaviour lately as well. Not to mention that the new toolbar doesn’t import his look-and-feel options and clutters everything :/

Date: 2006-10-18 03:57 pm (UTC)
From: [identity profile] olego.livejournal.com
You guys use the Google Toolbar?

*is an Opera user*

By the way, how do you apply an ACL to a program? Or must you just say that `whoami` is unable to edit this key?

Date: 2006-10-18 05:24 pm (UTC)
From: [identity profile] ralesk.livejournal.com

He thinks IE is the best browser ever…

I use Konqueror and Firefox and both have 1) search toolbars I never use 2) search keywords.

Date: 2006-10-18 08:26 pm (UTC)
From: [identity profile] olego.livejournal.com
About search keywords: can I program Firefox to respond to "i query" as "imdb.com/search?n=query"? If so, please tell me how! :-)

Date: 2006-10-18 08:30 pm (UTC)
From: [identity profile] ralesk.livejournal.com

Supposedly some new system in the works is going to allow that (maybe in 2.0 already? dunno).

Date: 2006-10-17 11:09 pm (UTC)
From: [identity profile] ralesk.livejournal.com

Haha, that icon still strikes me with the “huh! did I post?” feeling XD

Date: 2006-10-18 06:38 pm (UTC)
From: [identity profile] pleaseremove.livejournal.com
It so fits this post though. Read the last line of it and then look at that picture wile thinking *fanfair music* and you will understand why I chuckled when I saw it.

Date: 2006-10-18 06:40 pm (UTC)
From: [identity profile] ralesk.livejournal.com

Oh, I know it does :) Thing is though, he nicked the icon from me (which is, actually, perfectly fine with me, but I still get surprised by it).

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 8th, 2026 03:02 am
Powered by Dreamwidth Studios