]> git.sesse.net Git - vlc/commit
nsis: request admin execution level
authorLudovic Fauvet <etix@videolan.org>
Fri, 29 Nov 2013 11:56:43 +0000 (12:56 +0100)
committerLudovic Fauvet <etix@videolan.org>
Fri, 29 Nov 2013 12:26:17 +0000 (13:26 +0100)
commit952646bbe4870330a4128f3cd5cc7f8ee0772516
treec0bcfefcc61f899cd6679e8243181b47802757c8
parent749052257462aa239a75c0965c0fb2ed5ac994c0
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 (90496f23c2481bbaea21a586bc22631850751221) 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.
extras/package/win32/NSIS/vlc.win32.nsi.in