1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

Update installer.

This commit is contained in:
Calvin Rose 2019-05-29 13:02:15 -04:00
parent ba0956488d
commit 9d30d5f6e3

View File

@ -14,6 +14,7 @@ OutFile "janet-installer.exe"
!define APPNAME "Janet" !define APPNAME "Janet"
!define DESCRIPTION "The Janet Programming Language" !define DESCRIPTION "The Janet Programming Language"
!define HELPURL "http://janet-lang.org" !define HELPURL "http://janet-lang.org"
BrandingText "The Janet Programming Language"
# MUI Configuration # MUI Configuration
!define MUI_ICON "assets\icon.ico" !define MUI_ICON "assets\icon.ico"
@ -65,7 +66,7 @@ section "install"
writeUninstaller "$INSTDIR\uninstall.exe" writeUninstaller "$INSTDIR\uninstall.exe"
# Start Menu # Start Menu
createShortCut "$SMPROGRAMS\Janet.lnk" "$INSTDIR\janet.exe" "" "$INSTDIR\logo.ico" createShortCut "$SMPROGRAMS\Janet.lnk" "$INSTDIR\bin\janet.exe" "" "$INSTDIR\logo.ico"
# HKLM (all users) vs HKCU (current user) # HKLM (all users) vs HKCU (current user)
WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" JANET_PATH "$INSTDIR\Library" WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" JANET_PATH "$INSTDIR\Library"