![]() |
Raise process priorty
Hello,
I want the "installer.exe" to find a Windowless process named "BLAH.EXE" that was started by the installer and raise BLAH.EXE process priorty to Above Normal? When I say Window-less process, I mean a program like "SVCHOST.EXE" that has no user interface or window name. Ideally this would be through the System dll. Is this possible? |
|
I was hoping there was a way to do it without a third-party plugin. Here is what I'm using for the parent process.
code: I guess all I need is a way to find the handle to process blah.exe. |
yup, this is the hard part.. can't be done easily with NSIS except with a plugin..
mmh I just realize the Processes plug-in doesn't return the ID of the target process... and then you would need to OpenProcess by ID to get the HANDLE and change priority... I guess using the PrcView command-line tool is the easiest solution |
| All times are GMT. The time now is 04:31. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.