Old 14th September 2009, 19:30   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
NSIS has native support for writing to the 64 bit registry, use SetRegView

If you still want to use a .reg, you probably have to turn off file redirection before executing regedit.exe, see x64.nsh (Also note that regedit could be disabled by group policy)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 15th July 2012, 12:57   #2
PoRtAbLe_StEaLtH
Junior Member
 
Join Date: Jul 2011
Posts: 49
Talking

Quote:
Originally Posted by Anders View Post
NSIS has native support for writing to the 64 bit registry, use SetRegView

If you still want to use a .reg, you probably have to turn off file redirection before executing regedit.exe, see x64.nsh (Also note that regedit could be disabled by group policy)
Anders, you are GOD!
i have been banging my head these past few days.
i use NSIS to make portable applications, but switched to PAF.
Only problem with PAF is you have no control over the internal coding.
And they don't support 64-bit AT ALL!

i was familiar with SetRegView but found that it's incompatible with the Registry Plugin.
using your suggestion ${DisableX64FSRedirection} worked finally!

Deleting with SetRegView is simple.
But importing & exporting was impossible because you have to use Reg.exe.

Thank You VERY Much
PoRtAbLe_StEaLtH is offline   Reply With Quote
Reply
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