Commit 8f329aa5 authored by Nils Cedric Holle's avatar Nils Cedric Holle

Add create desktop shortcut to installer

parent e15e720f
......@@ -32,6 +32,11 @@ Name "Puzzlestream"
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!define MUI_FINISHPAGE_SHOWREADME ""
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Create Desktop Shortcut"
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION finishpageaction
# start default section
Section
# copy files
......@@ -77,6 +82,10 @@ Section "uninstall"
# uninstaller section end
SectionEnd
Function finishpageaction
CreateShortcut "$DESKTOP\Puzzlestream.lnk" "$INSTDIR\Puzzlestream.exe"
FunctionEnd
Function .onInit
ReadRegStr $R0 HKCU \
......
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