[vlc-commits] Win32: launch the application at the end of the	installer
    Jean-Baptiste Kempf 
    git at videolan.org
       
    Thu Sep  5 15:44:06 CEST 2013
    
    
  
vlc/vlc-2.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep  3 16:29:45 2013 +0200| [da297c7d4ff551f5127701df7e8a0c88147824d9] | committer: Jean-Baptiste Kempf
Win32: launch the application at the end of the installer
But with the correct Integrity.
(cherry picked from commit 90496f23c2481bbaea21a586bc22631850751221)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=da297c7d4ff551f5127701df7e8a0c88147824d9
---
 extras/package/win32/NSIS/vlc.win32.nsi.in |    7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in
index 4772718..8e413c7 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -79,6 +79,13 @@ RequestExecutionLevel user
   ; Instfiles page
     !insertmacro MUI_PAGE_INSTFILES
   ; Finish page
+
+    Function AppExecAs
+      Exec '"$WINDIR\explorer.exe" "$INSTDIR\vlc.exe"'
+    FunctionEnd
+
+    !define MUI_FINISHPAGE_RUN
+    !define MUI_FINISHPAGE_RUN_FUNCTION AppExecAs
     !define MUI_FINISHPAGE_LINK $Link_VisitWebsite
     !define MUI_FINISHPAGE_LINK_LOCATION "http://www.videolan.org/vlc/"
     !define MUI_FINISHPAGE_NOREBOOTSUPPORT
    
    
More information about the vlc-commits
mailing list