Uninstall Problem

One of those Windows things that really bugs me is when I can't uninstall a program. I ran into that recently with a copy of DevPartner Studio. Trying to uninstall gave me this message:

Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

Whenever an install fails, it usually writes out a log in the temp directory that has more information. Easy way to find this is to open a shell window and:

cd %temp%
dir /od

Look for a *.LOG file that was just created - it probably starts with the letters MSI. Open it in Notepad and it should tell you what program it was trying to run:

Action UninstallDAISAPI.AAC63063_AA97_11D4_8173_00B0D04BD929, location: C:\Program Files\Compuware\DevPartner Studio\Distributed Analyzer\instisapi.exe, command: /f /u /n"DA ISAPI Filter"

So the instisapi.exe command is failing. There's probably a "proper" solution to this, but my hack solution is to replace instisapi.exe with notepad.exe and run the uninstall again. When the uninstall process needs to launch that app, Notepad pops up. Close notepad, and the install continues.

This worked for me, but of course you follow this advice at your own risk.