5 ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
6 ${VersionCompare} "6.2" $R0 $R0
14 !macro SnoreShortcut path exe appID
17 ${If} $0 == "AtLeastWin8"
18 nsExec::ExecToLog '"${SnoreToastExe}" -install "${path}" "${exe}" "${appID}"'
20 CreateShortCut "${path}" "${exe}"