Internet Explorer 7 Automatic Delivery Blocker

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

In the next days Internet Explorer 7 will be delivered as High Priority update via Automatic Updates; Microsoft published a toolkit, named "Internet Explorer 7 Blocker Toolkit":

http://www.microsoft.com/downloads/details.aspx?FamilyID=4516a6f7-5d44-482b-9dbd-869b4a90159c&DisplayLang=en

which disables or later reenables this behaviour. It consists of an executable, which extracts a .cmd file and a .amd policy.

The install and remove commands in the following WPKG installer are taken from the relevant parts of this script.

<package id="ie7ADblocker"
          name="Internet Explorer 7 Automatic Delivery Blocker"
          revision="1"
          priority="1000"
          reboot="false"
          execute="once" >
  <install cmd='REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer\Setup\7.0" /v DoNotAllowIE70 /t REG_DWORD /d 1 /f' />
  <remove  cmd='REG DELETE "HKLM\SOFTWARE\Microsoft\Internet Explorer\Setup\7.0" /v DoNotAllowIE70 /f' />
</package>