I'm trying to set up Advanced Installer so it will stop the process before uninstalling. I have the Stop Process custom action before searches in Wizard Dialog Stage with [#eterna.exe] in the Action Data box. During uninstall, it displays the dialog that says I need to stop the process (which it identifies correctly) but if I push ok, it hangs the process. Looking at Task Manager that "eterna.exe" is taking a lot of cpu cycles but never stops. If I don't do anything, the uninstall eventually fails. If I use Task Manager to stop the process, the uninstall process completed.
However, no matter what, the registry entries are never removed. I have entries in HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. In the Remove tab of the Edit Registry Key dialog, I have "Remove this key and all its values and subkeys" checked. I've selected the component "eterna.exe" (as well as "Eterna") and selected "Remove on install and uninstall" in the Remove On selection.
So, my questions are:
1. Why can't I stop the eterna.exe program?
2. What do I need to do differently to stop that program?
3. What do I need to do differently to remove the registry keys?
FOLLOW US
Get the latest news in Application Packaging