Commit 29d2fc1b authored by Ludovic Fauvet's avatar Ludovic Fauvet

nsis: don't show the welcome and finish pages when the update switch is set

This allows updates without user intervention.
parent 07a04575
...@@ -80,6 +80,7 @@ RequestExecutionLevel user ...@@ -80,6 +80,7 @@ RequestExecutionLevel user
; Installer pages ; Installer pages
; Welcome page ; Welcome page
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageFastUpdatePre
!define MUI_WELCOMEPAGE_TITLE_3LINES !define MUI_WELCOMEPAGE_TITLE_3LINES
!insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_WELCOME
; Optional update page ; Optional update page
...@@ -107,6 +108,7 @@ RequestExecutionLevel user ...@@ -107,6 +108,7 @@ RequestExecutionLevel user
${Endif} ${Endif}
FunctionEnd FunctionEnd
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageFastUpdatePre
!define MUI_FINISHPAGE_RUN !define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION AppExecAs !define MUI_FINISHPAGE_RUN_FUNCTION AppExecAs
!define MUI_FINISHPAGE_LINK $Link_VisitWebsite !define MUI_FINISHPAGE_LINK $Link_VisitWebsite
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment