Old 3rd April 2019, 07:36   #1
Junior Member
Join Date: Apr 2019
Posts: 1
Updated psExec to be x64 compatible


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.
julianhille is offline   Reply With Quote
Old 5th April 2019, 11:22   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,502
Wiki registration should be fixed now.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

powershell, psexec

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump