i like to export the settings of my firewall, this feature is only available in next version which ist buggy beta.
so i tried hklm\software\my_software but i cant.
HKCU\Software\my_software is possible and also HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
neither reg.exe nor regedit.exe and ${registry::SaveKey} does not work
at least i tried SetRegView but also no way.
i need to export HKEY_USERS\S-1-5-21-2125712889...\Software but this is not convenient.
the script is working perfectly on win7/32bit but not on 64bit.
64bit in generell is complete new to me.
pls help.
64bit: nsis and registry HKLM/Software = access denied
2 posts
i cant this one working - HKLM is not exported
Ok RegReadStr works, so its a limitation of the registry plugin!?
solved - registry v4.1 works, needed an update here
!include "x64.nsh"
${If} ${RunningX64}
; disable registry redirection (enable access to 64-bit portion of registry)
SetRegView 64
; export
${registry::SaveKey} "HKEY_CURRENT_USER\Software\my_software" "$INSTDIR\Backup\$HKCU" "" $0
${registry::SaveKey} "HKEY_LOCAL_MACHINE\SOFTWARE\my_software" "$INSTDIR\Backup\$HKLM" "" $0
${EndIf} ...Ok RegReadStr works, so its a limitation of the registry plugin!?
solved - registry v4.1 works, needed an update here