]> git.sesse.net Git - vlc/commitdiff
nsis: remove unsecure options from the installer
authorLudovic Fauvet <etix@videolan.org>
Thu, 5 Jul 2012 21:25:06 +0000 (23:25 +0200)
committerRafaël Carré <funman@videolan.org>
Sat, 7 Jul 2012 11:11:19 +0000 (13:11 +0200)
Because we can't efficiently drop the privileges acquired by the UAC it
is wise to remove the possibility for the user to start VLC or view the
README at the end of the installation process.

Signed-off-by: Rafaël Carré <funman@videolan.org>
extras/package/win32/vlc.win32.nsi.in

index f1aebe30f10e7b1ddf6b76b6e45cfdaa688733aa..1b573fce514f005ca059d7992029391e5f6b487b 100644 (file)
@@ -78,21 +78,8 @@ RequestExecutionLevel user
   ; Instfiles page
     !insertmacro MUI_PAGE_INSTFILES
   ; Finish page
-
-    Function ExecAppFile
-      Exec '$INSTDIR\vlc.exe'
-    FunctionEnd
-
-    Function AppRunAs
-      !insertmacro UAC.CallFunctionAsUser ExecAppFile
-    FunctionEnd
-
-    !define MUI_FINISHPAGE_RUN
-    !define MUI_FINISHPAGE_RUN_FUNCTION AppRunAs
     !define MUI_FINISHPAGE_LINK $Link_VisitWebsite
     !define MUI_FINISHPAGE_LINK_LOCATION "http://www.videolan.org/vlc/"
-    !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README.txt"
-    !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
     !define MUI_FINISHPAGE_NOREBOOTSUPPORT
     !insertmacro MUI_PAGE_FINISH