mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-27 08:33:27 +01:00
Better installer.
This commit is contained in:
parent
878ee8e5c1
commit
8486b072a6
@ -64,7 +64,9 @@ RequestExecutionLevel admin
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
|
||||
; 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
|
||||
|
||||
@ -192,6 +194,10 @@ SectionEnd
|
||||
;--------------------------------
|
||||
; Custom functions.
|
||||
|
||||
Function LaunchApplication
|
||||
Exec '"$WINDIR\explorer.exe" "$INSTDIR\${EXE_NAME}"'
|
||||
FunctionEnd
|
||||
|
||||
Function un.RmDirsButOne
|
||||
Exch $R0 ; exclude dir
|
||||
Exch
|
||||
|
Loading…
Reference in New Issue
Block a user