[vlc-commits] Win32: launch the application at the end of the installer
Jean-Baptiste Kempf
git at videolan.org
Tue Sep 3 16:30:16 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 3 16:29:45 2013 +0200| [90496f23c2481bbaea21a586bc22631850751221] | committer: Jean-Baptiste Kempf
Win32: launch the application at the end of the installer
But with the correct Integrity.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90496f23c2481bbaea21a586bc22631850751221
---
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