kevacoin/share
JeremyRand 0684cf9b58 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.

GitHub-Pull: #12985
Rebased-From: 7d8a8cc
2018-04-26 23:43:54 +08:00
..
pixmaps Slightly overhaul NSI pixmaps 2017-06-22 21:40:48 +02:00
qt Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
rpcauth Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09: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-26 23:43:54 +08:00