Better installer.
This commit is contained in:
parent
878ee8e5c1
commit
8486b072a6
1 changed files with 7 additions and 1 deletions
|
@ -64,7 +64,9 @@ RequestExecutionLevel admin
|
||||||
!insertmacro MUI_PAGE_INSTFILES
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
|
|
||||||
; Offer user to launch the application right when it is installed.
|
; Offer user to launch the application right when it is installed.
|
||||||
!define MUI_FINISHPAGE_RUN "$INSTDIR\${EXE_NAME}"
|
!define MUI_FINISHPAGE_RUN
|
||||||
|
!define MUI_FINISHPAGE_RUN_TEXT "Start ${APP_NAME} now"
|
||||||
|
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchApplication"
|
||||||
|
|
||||||
!insertmacro MUI_PAGE_FINISH
|
!insertmacro MUI_PAGE_FINISH
|
||||||
|
|
||||||
|
@ -192,6 +194,10 @@ SectionEnd
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
; Custom functions.
|
; Custom functions.
|
||||||
|
|
||||||
|
Function LaunchApplication
|
||||||
|
Exec '"$WINDIR\explorer.exe" "$INSTDIR\${EXE_NAME}"'
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
Function un.RmDirsButOne
|
Function un.RmDirsButOne
|
||||||
Exch $R0 ; exclude dir
|
Exch $R0 ; exclude dir
|
||||||
Exch
|
Exch
|
||||||
|
|
Loading…
Add table
Reference in a new issue