Archive: Processes::FindProcess thing that "MyApp.exe" = "SetupMyApp.exe"


Processes::FindProcess thing that "MyApp.exe" = "SetupMyApp.exe"
Hi,

I didn't find a solution on the forum so ask your help.

Using Processes::FindProcess plugin, if the installer file name is "SetupMyApp.exe" and I look for the process "MyApp.exe", the plugin thing that those are the same process.

Any one knows how to solve this bug?
Or any one can suggest me how to find a different solution?

Thanks for any answer
Ciaoo
orecchione bruno

script example:
Processes::FindProcess "MyApp.exe"
StrCmp "$R0" "0" "MyAppOK" 0
Abort
MyAppOK:


The wiki page says you need to call FindProcess without a trailing .exe in the parameter. Perhaps this has some influence?


Thanks for your suggestion, but unfortunnaly the correction has not solved the problem:
Processes::FindProcess "MyApp"
StrCmp "$R0" "0" "MyAppOK" 0
Abort
MyAppOK:


I made also this test:

If my the Setup app is called "SetupMyApp" or "SetupMyAppXYZ"
the command
Processes::FindProcess "MyApp"
thing that the process "SetupMyApp" and "SetupMyAppXYZ" are = "MyApp"

If I looks for "something" without the word "MyApp" the searching give me correct result.