Hello,
I got a following problem. Before uninstalling my application I have to kill some processes in Windows (run by my application).
I know it can be done for example using this plugin (http://nsis.sourceforge.net/KillProcDLL_Manual), but I need to kill process only from specified path. For example:
My application is installed in: C:\Program Files\MyApp\MyApp.exe.
This applications runs other process, Process1.exe, from
C:\Program Files\MyApp\Proces\Process1.exe
This can be kill by above plugin (kill by process name).
But, let's say we have Process1.exe also in the other directory, for example C:\Program Files\RunMe\Process1.exe, and this process can't be killed - I want to kill only this from specified path. I hope you understand what I mean 🙂
So, my question is How to kill a process that runs from specified directory?
Regards,
-Pawel
Killing a process by application path
6 posts
I s'pose this could be another feature of the LockedList plug-in. Have a look at it anyway, maybe it will do what you need in a more sophisticated way.
Stu
Stu
Originally posted by Afrow UKThis plugin is great! Really good job. Thanks.
I s'pose this could be another feature of the LockedList plug-in. Have a look at it anyway, maybe it will do what you need in a more sophisticated way.
Stu
I have just tested it and it is doing what I want 🙂
Regards,
-Pawel
Stu,
I got one more question.
I use it like this:
I want to close it automatically, after clicking Next button (if user ignore my request).
Is it possible?
2. Can you tell me how to translate the following words from the plugin page? (I use multilanguage interface) It is:
Listview header: Application, Process
Right click menu: Close, Copy list
Thanks for help,
-Pawel
I got one more question.
I use it like this:
Function LockedListShow
${If} ${AtLeastWinNt4}
!insertmacro MUI_HEADER_TEXT `Programs to close` `Programs to close`
LockedList::AddModule /NOUNLOAD "C:\\Program Files\\TC UP\\TOTALCMD.EXE"
LockedList::AddModule /NOUNLOAD "C:\\Program Files\\TC UP\\PLUGINS\\Media\\XnView\\xnview.exe"
LockedList :: Dialog /ignore "Next"
${EndIf}
FunctionEnd 1. The plugin find this programs and display on the list. We can close them by rigth click menu.I want to close it automatically, after clicking Next button (if user ignore my request).
Is it possible?
2. Can you tell me how to translate the following words from the plugin page? (I use multilanguage interface) It is:
Listview header: Application, Process
Right click menu: Close, Copy list
Thanks for help,
-Pawel
This feature isn't built in but can be done. I haven't got time to add at the moment but it can go on my to do list.
For now I am afraid you will have to go without the /ignore option.
Stu
For now I am afraid you will have to go without the /ignore option.
Stu
Originally posted by Afrow UKHello Stu,
This feature isn't built in but can be done. I haven't got time to add at the moment but it can go on my to do list.
For now I am afraid you will have to go without the /ignore option.
Stu
Could you do this features in nearest future? When could you do this?
If You don't have time, can I do it by myself and use it in my installer?
Thanks,
-Pawel