Archive: help with processes plugin


help with processes plugin
Hi,

I want to check if my program is running on installation and uninstallation. For this I downloaded the processes-plugin (from the wiki: http://nsis.sourceforge.net/Processes_plug-in) and put the following code in my nsis-script:

Processes::FindProcess "GR-KMR-Manager"
Pop $R0
MessageBox MB_OK|MB_ICONEXCLAMATION "r0: $R0"

As in the description of processes-plugin I expected the value of $R0 to be 0 or 1 but the value is always "5.1.2600.2180". This is the version number of my windows (XP sp2).

So what is wrong?

Thanks for any support.

grassu


The plug-in doesn't push anything on the stack, it just sets $R0. I have updated the description on the page.


Yes, this was it.

Thanks a lot.