Commit 952646bb authored by Ludovic Fauvet's avatar Ludovic Fauvet

nsis: request admin execution level

The current state of our NSIS installer doesn't support per-user
installation and needs a major rework to do so, therefore the user
is required to have admin privileges to install VLC.

Still, RequestExecutionLevel was set to 'user' to be able to drop
privileges when launching vlc.exe at the end of the installation but
this was improved since (90496f23) and
confirmed by the accesschk tool.

However requesting user execution level makes the unpacking occurs
twice: once with the user level and once after elevation.

Requesting admin permissions fixes the unpacking issue while still being
safe when launching VLC after the installation on XP and above.
parent 74905225
......@@ -56,7 +56,7 @@ InstType $Name_InstTypeRecommended
InstType $Name_InstTypeMinimum
InstType $Name_InstTypeFull
RequestExecutionLevel user
RequestExecutionLevel admin
!addincludedir NSIS
!addplugindir NSIS
!include UAC.nsh
......
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