Uninstall Issues - Stop process & delete registry - Advanced Installer Community
stevericketts
Posts: 10
Joined: Sun Feb 12, 2006 2:50 pm

Uninstall Issues - Stop process & delete registry

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?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Uninstall Issues - Stop process & delete registry

Hi,
1. Why can't I stop the eterna.exe program?
2. What do I need to do differently to stop that program?
Please keep in mind that when the "Stop Process" custom action is used, the name that you write in the "Process name" field should be identical to the name that is displayed in Task Manager (i.e. externa.exe not [#eterna.exe]).
3. What do I need to do differently to remove the registry keys?
I'm not sure why those registry entries are not removed. Maybe the "externa.exe" component that the registry entries are related with, is not removed because the application hangs and the registry entries are not removed either.

Can you try to make the above modification and see if the problems still appear on a clean machine? If so, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”