Announcement

Collapse
No announcement yet.

nsProcess plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Anders
    replied
    Originally Posted by PPeti66x View Post
    Hi!
    If someone needs a Win9x/NT4 compatible version, here is it. No source code changed, only was recompiled in VS2003. Both ANSI and Unicode versions are included.
    Very nice, you should update the wiki as well.

    Leave a comment:


  • PPeti66x
    replied
    Hi!
    If someone needs a Win9x/NT4 compatible version, here is it. No source code changed, only was recompiled in VS2003. Both ANSI and Unicode versions are included.
    Attached Files

    Leave a comment:


  • ann0see
    replied
    > The nsProcess plug-in also exists on the NSIS wiki and all files on this wiki are ZLib licensed unless otherwise noted.


    Great to hear thanks for your reply! So we will probably host it ourselves or include it in the repo.

    Leave a comment:


  • Anders
    replied
    Originally Posted by ann0see View Post
    It would be great if this plugin would use an official (FOSS) license so that we don't need to download the .zip file from a forum post
    The nsProcess plug-in also exists on the NSIS wiki and all files on this wiki are ZLib licensed unless otherwise noted.

    Leave a comment:


  • ann0see
    replied
    It would be great if this plugin would use an official (FOSS) license so that we don't need to download the .zip file from a forum post. See: https://github.com/corrados/jamulus/issues/859

    We would really appreciate an answer here.

    Leave a comment:


  • ann0see
    replied
    This is now the "real" zip file.
    Attached Files

    Leave a comment:


  • ann0see
    replied
    According to pjones here: https://github.com/corrados/jamulus/...ment-761690094

    It seems as if the file is in fact a 7zip file. Unfortunately we need a .zip file since windows doesn't natively support 7zip. I'll upload the zip file here (and then let the script download it from here; That's of course not optimal). Is it allowed to host the dll on our own page?

    Leave a comment:


  • ann0see
    replied
    I just downloaded the zip file from this link: https://nsis.sourceforge.io/mediawik.../NsProcess.zip but unfortunately Windows 10 powershell and Windows Explorer tell me that the file is corrupt. 7Zip can extract it, but I can't use it with my powershell script.

    Does anybody know how to fix the .zip file or are there any other .zip (not 7zip) mirrors?

    Leave a comment:


  • Fildor
    replied
    ^^ Solved. It was a stupid mistake. Sorry for bothering. The Plugin works exceptionally fine!

    Thanks to all.

    Leave a comment:


  • Fildor
    replied
    Hi there,

    I currently have a problem with nsProcess Plugin on my Windows 10 x64 development machine.

    Please have a look into this Stackoverflow Question:


    Regards, Stephan

    Leave a comment:


  • tnteverett
    replied
    Plugin Directory

    The ZIP file has only one DLL and unzipping does not put it in the right directory. Not knowing where it goes, this is what I have done.

    Installation file: 20140806212030!NsProcess.zip
    Instructions:
    Copy to the base installation directory of NSIS, typically "C:\Program Files (x86)\NSIS"
    Using WinZip, right click and select "Extract to Here"
    This action puts files in the wrong place. You will need to move the following files.
    Move "C:\Program Files (x86)\NSIS\Plugin\nsProcess.dll"
    to
    "C:\Program Files (x86)\NSIS\Plugins\x86-ansi\nsProcess.dll"
    and
    "C:\Program Files (x86)\NSIS\Plugins\x86-unicode\nsProcess.dll"

    I assume the right place is ansi but did not want to test it further, just wanted it to work.

    Note that the NsProcess.zip downloads but will not open.
    Same problem with nsProcess_1_6.7z

    When will ZIP release be fixed to include both and in the right directories?
    C:\Program Files (x86)\NSIS\Plugins\x86-unicode
    C:\Program Files (x86)\NSIS\Plugins\x86-ansi

    Leave a comment:


  • mrjohn
    replied
    @r2du-soft: I've done test again, nsProcess 1.6 gives me always value 6 for any process tested,and your second solution gives always 0,dll downloaded from there

    Leave a comment:


  • mrjohn
    replied
    I've solved for my case using a simple trick:trying to open main exe file for append and catch error in case if it is running

    Leave a comment:


  • r2du-soft
    replied
    Originally Posted by mrjohn View Post
    Hi,for me this plugin doesn't work,I'm on W10x64 ,NSIS v3.02.1
    Example code always returns value 6 for any process tested

    There is other alternative to find a running process?

    thanks!
    hi my friend
    also i have windows 10 x64
    i tested,everything is right,Perhaps you are faced with this problem: in windows 10 Calc.exe process name is Calculator.exe you must edit example scrip!
    if plugin not found process name return 603 and if find process return 0 !
    this is nsProcess plugin return values:
    HTML Code:
    // Return codes are as follows:
    //   0   = Success
    //   601 = No permission to terminate process
    //   602 = Not all processes terminated successfully
    //   603 = Process was not currently running
    //   604 = Unable to identify system type
    //   605 = Unsupported OS
    //   606 = Unable to load NTDLL.DLL
    //   607 = Unable to get procedure address from NTDLL.DLL
    //   608 = NtQuerySystemInformation failed
    //   609 = Unable to load KERNEL32.DLL
    //   610 = Unable to get procedure address from KERNEL32.DLL
    //   611 = CreateToolhelp32Snapshot failed
    if you have problem with nsProcess plugin,try this:

    HTML Code:
    	FindProcDLL::FindProc "Calculator.exe"
    	MessageBox MB_OK "$R0"
    if not found process return 0
    and if found process return 1

    Leave a comment:


  • mrjohn
    replied
    Hi,for me this plugin doesn't work,I'm on W10x64 ,NSIS v3.02.1
    Example code always returns value 6 for any process tested

    There is other alternative to find a running process?

    thanks!

    Leave a comment:

Working...
X
😀
🥰
🤢
😎
😡
👍
👎