Commit c3b17587 authored by Victor Yacovlev's avatar Victor Yacovlev

WIN32: File registration from 2.1

parent 27541e75
......@@ -31,6 +31,17 @@ Section "Kumir" Kumir
ExecWait '"$INSTDIR\vcredist_x86.exe" /passive'
Delete /REBOOTOK "$INSTDIR\vcredist_x86.exe"
WriteRegStr HKCR ".kum" "" "ru.niisi.kumir2.program"
WriteRegStr HKCR "ru.niisi.kumir2.program" "" " "
WriteRegStr HKCR "ru.niisi.kumir2.program\shell\open\command" "" '"$INSTDIR\bin\kumir2-open.exe" "%1"'
WriteRegStr HKCR "ru.niisi.kumir2.program\DefaultIcon" "" "$INSTDIR\share\icons\kumir2-kum.ico"
WriteRegStr HKCR ".kod" "" "ru.niisi.kumir2.bytecode"
WriteRegStr HKCR "ru.niisi.kumir2.bytecode" "" " "
WriteRegStr HKCR "ru.niisi.kumir2.bytecode\shell\open\command" "" '"$INSTDIR\bin\kumir2-run.exe" "%1" "%*"'
WriteRegStr HKCR "ru.niisi.kumir2.bytecode\DefaultIcon" "" "$INSTDIR\share\icons\kumir2-kod.ico"
Call RefreshShellIcons
CreateDirectory "$SMPROGRAMS\2"
CreateShortCut "$SMPROGRAMS\2\-.lnk" "$INSTDIR\bin\kumir2-classic.exe"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment