mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-28 17:10:28 +01:00
Better installer.
This commit is contained in:
parent
878ee8e5c1
commit
8486b072a6
@ -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…
Reference in New Issue
Block a user