Fix cma broadcast bug.

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

No files matched your search

+9
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