underline
7th July 2010 19:05 UTC
x64 - Get full path of running process
Hi,
Is there any working plugin or function to get the full path of an running process under x64?
For x86 (32bit) OS this can be done very easy using "ProcFunc.nsh" and "${GetProcessPath}" but under x64 OS seems there is no working solution as "ProcFunc.nsh" is based on PSAPI which will fail on every x64 OS?
Thanks!
Afrow UK
7th July 2010 19:08 UTC
I'm working on it.
Stu
underline
7th July 2010 19:11 UTC
Thanks Afrow
Please let me know when this is done as I really need it and seems there is no working solution available.
Afrow UK
7th July 2010 22:16 UTC
Done: http://nsis.sf.net/LockedList_plug-in
The function I added is FindProcess (as well as EnumProcesses among other updates).
Stu
underline
7th July 2010 22:28 UTC
Great plugin but seems not yet compatible with x64
Tested your examples on Win 7 x64 and every time I get:
Win32 Error: Code 740.
The requested operation requires elevation.
Afrow UK
8th July 2010 00:22 UTC
I'm running Windows 7 x64 and I did not have that problem. Can you show me a screenshot?
Stu
underline
8th July 2010 08:48 UTC
You're right! Your LockedList Plugin din not have any problem with x64.
That error comes from HM NIS Editor installed on 7 x64 when using Shift + F9 to compile and run the script but if I run the installer manually there is no error and your plugin works as expected in x64.
Thank you again for your great work with this plugin.