Archive: Writing a registry value to a file


Writing a registry value to a file
Can someone just give me a short example, nothing complex. I tried to do it and need a lot of practice with variables :(

Need to find the time

Anyway, would be appriciated


ReadRegStr $0 HKLM Software\NSIS ""
FileOpen $1 "C:\blah.txt" w
FileWrite $1 $0
FileClose $1