Archive: nsprocess plugin and unicode


nsprocess plugin and unicode
Hello,

I am translating my installer and program into japanese and had to switch to the unicode build of nsis (http://www.scratchpaper.com/)

All worked good for installation but now it failed to find process for uninstallation. In fact I check that some process are not running before uninstalling. To do that, I use the plugin nsProcess (http://nsis.sourceforge.net/NsProcess_plugin)

$(nsProcess::FindProcess) "myprocessname.exe" $R0


The problem is that the plugin detects that the process is running but it is not.

THis is what is returned for answer :
http://img199.imageshack.us/img199/897/nsis.png

Have someone an idea why this plugin failed with unicode build ?

THanks in advance for your help.

Ok, I have found an alternative plugin which have a unicode build:

FindProcDLL : http://nsis.sourceforge.net/FindProcDLL_plug-in
See "Current Release for unicode edition: 2009-11-13 Download"

With this one,

FindProcDLL::FindProc "process_name.exe"


works well on windows 7 for japanese for example.

Regards
Pascal

I have now the problem that the plugin does not work on 64 bit with unicode.

Have someone found a plugin that find running processes that works on both 32 bits and 64 bits architecture and with unicode encoding?

Thanks in advance for your help