Commit a2a93861 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Rafaël Carré

nsis: remove unsecure options from the installer

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: default avatarRafaël Carré <funman@videolan.org>
parent c7d7f0d6
......@@ -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
......
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