Uninstall - Unable to Terminate Application Running

Got a problem you cannot solve? Try here.
Marco
Posts: 13
Joined: Tue Sep 11, 2007 5:53 pm

Uninstall - Unable to Terminate Application Running

Postby Marco » Sun Jan 20, 2008 1:42 am

When I run the Uninstall I am not able to get my Application Terminated. My application sits in the System Tray. I am using the below code.

Set Persistent Variable PROCESS_MYAPP to MyApp.exe

Check for Process "$PROCESS_MYAPP$", get result into variable RUNNING
if Variable RUNNING Equals TRUE
Terminate Program $PROCESS_MYAPP$
end


The RUNNING does Equal to TRUE (I debuged to make sure) but it never terminates the program and the Uninstaller gives error.

Is it because my application runs in the System Tray and does not have a Window open at the time? Any workarounds or ideas?

ps: I have tried this with Vista 64 bit and Windows XP Professional 32 bit. Running as Administrator on both Operating Systems.

Thanks

Peace in Christ
Marco Napoli
http://www.ourlovingmother.org

Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 77 guests