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