The application that would not uninstall

I install a ton of pre-release and test software so it is not surprising that I sometimes run into Windows Installer issues. Here is an entertaining error though. It is unlikely, I guess, that you will hit this problem; but I present it as an illustration of what can go wrong, as we move into the era of locked-down operating systems and easy app installs. Though even these are not perfect. Notice how the operating system fights me all the way.

Years ago I installed Microsoft’s Office Labs Ribbon Hero, a tutorial add-on for Office. At the time I was running Windows Vista. Since then I have done an in-place upgrade to Windows 7. I tried to remove it today through Control Panel and got this message:

image

After presenting this information setup closed and the application was not uninstalled.

So … the application does not support Windows 7 and therefore you cannot remove it. Clever, and I found this a tricky problem to get around.

I took a look at the Windows installer files which you can find in %SYSTEMROOT%\Installer. All the msi files have random names. However, you can right-click the column heading area and choose More, then check Subject in the list. Click OK, and now the application to which each msi relates appears.

image

Now you can click the column heading to sort by subject and find the problem msi.

image

I copied the msi to my desktop.

For the next step you need the Orca tool from the Windows Installer SDK. If Orca is installed, you can right-click the MSI and choose Edit with Orca.

image

I then selected LaunchCondition and deleted the launch condition that required Windows XP.

INSTALLED OR VersionNT = 501 OR APPLYING_AUTOUPDATE

Hmm, something odd here as it should pass INSTALLED? Still, save, right-click the msi, choose Uninstall. You still hit the error. Why? Somehow, Windows works out that you are uninstalling a product for which an msi exists in the official location and uses that one instead. You have to copy your modified msi to the correct location. Open an administrator command prompt:

image

Now right-click the msi and choose Uninstall.

It worked. Phew.

VN:F [1.9.18_1163]
Rate this post
Rating: 10.0/10 (1 vote cast)
The application that would not uninstall, 10.0 out of 10 based on 1 rating

Related posts:

  1. Intel network driver 64-bit annoyance: won’t install, won’t uninstall
  2. Why Windows Installer pops up when you run an application
  3. Tafiti: search as a rich internet application
  4. The desktop versus web application debate
  5. Vista application compatibility: it’s not going to be fun

4 comments to The application that would not uninstall

  • Lee Keels

    As soon as you said you did an in-place upgrade from XP to 7, I stopped reading. In the real world, that should never be done.

  • tim

    I think you stopped reading before that :-) The in-place upgrade was from Vista not XP. In fact, there was no in-place upgrade allowed from XP (32-bit or 64-bit) to Vista 64-bit.

    Tim

  • Sometimes it’s good to be reminded just how ridiculously complicated these systems actually are beneath their friendly windows and icons :-)

  • Clyde Davies

    Hells bells. I think Windows got far too complicated a long time ago.