Thomas (boggyb) wrote,
Thomas
boggyb

  • Mood:
  • Music:

Autoupdate *that*, Google!

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!
Subscribe

  • (no subject)

    ...and the answer to last night's question is that the immersion heater is most certainly dead. Not only did it trip the breaker again when I…

  • (no subject)

    ...and today's discovery is that while I was away over the weekend, the breaker for the immersion heater tripped. That's new. Of course, I…

  • I don't think that's what "pony express" means...

    Man tries to board train with pony in Wrexham A man has been captured on CCTV trying to board a train accompanied by a pony. Shocked staff…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 14 comments

  • (no subject)

    ...and the answer to last night's question is that the immersion heater is most certainly dead. Not only did it trip the breaker again when I…

  • (no subject)

    ...and today's discovery is that while I was away over the weekend, the breaker for the immersion heater tripped. That's new. Of course, I…

  • I don't think that's what "pony express" means...

    Man tries to board train with pony in Wrexham A man has been captured on CCTV trying to board a train accompanied by a pony. Shocked staff…