![]() |
#1 |
Junior Member
Join Date: Apr 2019
Posts: 1
|
Updated psExec to be x64 compatible
Hi,
psExec.nsh had a flaw that a 32bit nsis on a 64bit windows system only started a 32bit powershell. That were a problem for me as i needed to find 64bit processes which does not work from within a 32bit process. So here i fixed it for you (and me). As im unable to register to the wiki and had no other possible way to open source that i added a gist: https://gist.github.com/julianhille/...7c855ae3d9c443 This is based on https://nsis.sourceforge.io/PowerShell_support and only uses the possibility to circumvent the win32 remapping of pathes by using the special path `sysnative` inside of the windows dir. Pitfall is: if theres something newer then powershell v1 it might fall back to v1 always. |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,502
|
Wiki registration should be fixed now.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Tags |
powershell, psexec |
Thread Tools | Search this Thread |
Display Modes | |
|
|