Prev Previous Post   Next Post Next
Old 25th November 2016, 14:01   #1
xbarns
Senior Member
 
xbarns's Avatar
 
Join Date: Aug 2007
Location: Frankfurt, Germany
Posts: 187
x86/x64 Environment Variables Read/Write

Hi all,

i need to modify an EnvironmentVariable in both the x86 and the x64 environment of a machine (Windows 2008/12/16).

I was playing around with the x64.nsh, but that didn't get me anywhere.

The variable to be modified is PSModulePath and i need to append a path to it, and depending on the environment this is later used in, it is either x86 (C:\Program Files (x86)\...) or x64 (C:\Program Files\....).

Any ideas?

Thanks for your help.
x
xbarns is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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