Fix cma broadcast bug.

Add desktop shortcut for windows installer.
This commit is contained in:
codestation
2015-02-22 13:18:02 -04:30
parent c5211f21d2
commit c8cd387334
5 changed files with 24 additions and 7 deletions

View File

@@ -31,6 +31,10 @@ Function finishPageRunFunction
ExecShell "" "$INSTDIR\${PRODUCT_EXE_NAME}"
FunctionEnd
Function finishpageaction
CreateShortcut "$desktop\Qcma.lnk" "$instdir\qcma.exe"
FunctionEnd
### Variables
Var StartMenuFolder
@@ -60,6 +64,11 @@ InstallDir "$PROGRAMFILES\${PRODUCT_NAME}"
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_SHOWREADME ""
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Create Desktop Shortcut"
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION finishpageaction
!define MUI_FINISHPAGE_RUN ""
!define MUI_FINISHPAGE_RUN_NOTCHECKED
!define MUI_FINISHPAGE_RUN_FUNCTION finishPageRunFunction