I installed digestIT 2004, a program that can generate an MD5 sum for a file, with WPKG, a software deployment, upgrade and removal script for Windows. I had never tried removing a program from a system before with WPGK, so I decided to test a deinstallation of digestIT 2004. You can remove a program from a system using WPKG by removing the program's entry from the appropriate section or sections of WPKG's profiles.xml file. When I initially tried to remove the digestIT 2004, the uninstall failed. I realized I had an incorrect removal section for it in WPKG's packages.xml file, which I then corrected. But even after I made the correction, WPKG was still trying to use the incorrect removal instruction from the previous version of packages.xml.
I then discovered that WPKG creates a c:\windows\system32\wpkg.xml file on the systems where you install software using WPKG. Even though I was updating the packages.xml file on the server from which I was installing the software, WPKG was not looking at it for the uninstall instruction. Instead it was checking the wpkg.xml file in the c:\windows\system32 directory on the system on which I had installed digestIT 2004. The instruction for removing digestIT 2004 in that file was the one placed in the file when I installed the software, so it was the incorrect version. I made the correction in the wpkg.xml file as well and then was able to uninstall the program using WPGK.
[ More Info ]