orecchionebruno
4th April 2011 12:05 UTC
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:
MSG
4th April 2011 13:01 UTC
The wiki page says you need to call FindProcess without a trailing .exe in the parameter. Perhaps this has some influence?
orecchionebruno
4th April 2011 13:37 UTC
Thanks for your suggestion, but unfortunnaly the correction has not solved the problem:
Processes::FindProcess "MyApp"
StrCmp "$R0" "0" "MyAppOK" 0
Abort
MyAppOK:
orecchionebruno
4th April 2011 13:46 UTC
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.