dash/share
JeremyRand 7d8a8cc25f
Avoid launching as admin when NSIS installer ends.
The Bitcoin Core NSIS script runs with elevated privileges.  Unfortunately, this means that it launches Bitcoin Core itself with elevated privileges when the user chooses to launch Bitcoin Core at the end of the installation procedure.  This commit works around the issue by having explorer.exe launch Bitcoin Core.  Seems to be a similar approach to what http://nsis.sourceforge.net/ShellExecAsUser_plug-in does, but without a plugin.

h/t to "UK" at https://mdb-blog.blogspot.se/2013/01/nsis-lunch-program-as-user-from-uac.html?showComment=1410158039989#c2463780017054126736 for the sample code.

Fixes #7990.
2018-04-14 07:51:49 +00:00
..
pixmaps Slightly overhaul NSI pixmaps 2017-06-22 21:40:48 +02:00
qt Change all python files to use Python3 2018-03-26 16:49:33 -04:00
rpcauth Change all python files to use Python3 2018-03-26 16:49:33 -04:00
genbuild.sh Add error handling: exit if cd fails 2017-10-18 17:09:36 +02:00
setup.nsi.in Avoid launching as admin when NSIS installer ends. 2018-04-14 07:51:49 +00:00