We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

Talk:Registry plug-in

From NSIS Wiki
Jump to navigationJump to search

I suggest for as a fix for Vista RestoreKey:

${registry::RestoreKey} "[FILE]" $R0 ${If} $R0 <> 0 ; failed to restore the keys nsExec::ExecToStack '"$WINDIR\system32\reg.exe" import "[file]"' Pop $R0 ${If} $R0 <> 0 ; Show some error message here. ${EndIf} ${EndIf}

-- Wernight