Archive: KillProcDLL


KillProcDLL
I have written an installer that I have thoroughly tested on Windows 98 up through Vista. However it does not work completely in Windows 7. The installation works great, but the uninstaller has a slight glitch. My software runs in the background and needs to be killed before an uninstall takes place. I cannot get my uninstaller to kill my process in Windows 7. It works fine for 98-Vista.

I am using:

KillProcDLL::KillProc "${MONITOR_EXE_01}"

If I ignore the return of the KillProc, the uninstaller removes all of my files properly and then Windows 7 throws an error b/c no files remain for the process.

Any suggestions?


I know this is an old post but it sounds like a bug.

Perhaps work around the problem by writing a exe to kill the process and execute the exe from your uninstaller.