diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in index 8e413c79a950b94551993ad7098b10127c40d206..dd640e92c20d53ad28fc4bc2ee302758c0d94fe1 100644 --- a/extras/package/win32/NSIS/vlc.win32.nsi.in +++ b/extras/package/win32/NSIS/vlc.win32.nsi.in @@ -81,7 +81,11 @@ RequestExecutionLevel user ; Finish page Function AppExecAs + ${If} ${AtLeastWinVista} Exec '"$WINDIR\explorer.exe" "$INSTDIR\vlc.exe"' + ${Else} + Exec '$INSTDIR\vlc.exe' + ${Endif} FunctionEnd !define MUI_FINISHPAGE_RUN