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

Ludovic Fauvet git at videolan.org
Sun Sep 29 18:02:41 CEST 2013


vlc/vlc-2.1 | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Sep 26 20:30:38 2013 +0200| [fe6109b1144ecc78e87690cf6b71b9c10a3d8083] | committer: Jean-Baptiste Kempf

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

This allows updates without user intervention.

(cherry picked from commit 29d2fc1b33dd7891cb9526ca8b919f774d387a99)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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