Menu

#319 Application running while uninstallation

open
5
2013-01-16
2013-01-16
gapchoos
No

How to check and return a true variable if the Application is running before the uninstallation process?

set program <%AppName%>.exe
foreach pid $pids {
set value expr {[llength [twapi::get_process_ids -name $program]] > 0}
return $value

}

The above script was tried. But it doesnot return any values. How to solve this issue? I am new to TCL Scripting. SO thereby expecting a detailed solution.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.