gugaliashashank
11th July 2007 05:56 UTC
How to check whether a executable file is running or not
Hi all
i want to uninstall my application only if my executable which starts running after installation is stopped(i.e. it should not be in running state while uninstallation). And if application is running i dont want to uninstall the application
I want to know how i will come to now during uninstalltion whether the executable is running or not
gugaliashashank
11th July 2007 08:51 UTC
thanks Red Wine
this link was really informative
still one doubt
the return value of FindProcDLL::FindProc will be captured in $R0 but how to test this value
i mean how to put condition on $RO
kichik
11th July 2007 18:45 UTC
Better yet, use the LogicLib.
!include LogicLib.nsh
#...
${If} $RO == "something"
# do something
${Else}
# do something else
${EndIf}