Add readme to winpack

This commit is contained in:
John Zhao
2018-11-02 13:01:54 +08:00
parent 6fa55e9ad7
commit 8bc4089677
3 changed files with 9 additions and 2 deletions

View File

@@ -96,8 +96,9 @@ SectionEnd
Function .onInstSuccess
;WriteRegStr "HKLM" "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" "View README" \
; "cmd.exe /c start /max notepad.exe $INSTDIR\README"
WriteRegStr "HKLM" "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" \
"View MYNTEYES README.txt" \
"cmd.exe /c start /max notepad.exe $INSTDIR\README.txt"
MessageBox MB_OKCANCEL "Reboot your system now?" /SD IDOK IDCANCEL NoReboot
Reboot