[vlc-commits] nsis: don' t show the welcome and finish pages when the update switch is set

Ludovic Fauvet git at videolan.org
Sat Sep 28 01:46:24 CEST 2013


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Sep 26 20:30:38 2013 +0200| [29d2fc1b33dd7891cb9526ca8b919f774d387a99] | committer: Ludovic Fauvet

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

This allows updates without user intervention.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=29d2fc1b33dd7891cb9526ca8b919f774d387a99
---

 extras/package/win32/NSIS/vlc.win32.nsi.in |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in
index 620984c..bda34be 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -80,6 +80,7 @@ RequestExecutionLevel user
 
 ; Installer pages
   ; Welcome page
+    !define MUI_PAGE_CUSTOMFUNCTION_PRE PageFastUpdatePre
     !define MUI_WELCOMEPAGE_TITLE_3LINES
     !insertmacro MUI_PAGE_WELCOME
   ; Optional update page
@@ -107,6 +108,7 @@ RequestExecutionLevel user
     ${Endif}
     FunctionEnd
 
+    !define MUI_PAGE_CUSTOMFUNCTION_PRE PageFastUpdatePre
     !define MUI_FINISHPAGE_RUN
     !define MUI_FINISHPAGE_RUN_FUNCTION AppExecAs
     !define MUI_FINISHPAGE_LINK $Link_VisitWebsite



More information about the vlc-commits mailing list