From ae3ae3df7616df799a59ee74cb1ef2b5fcec1c76 Mon Sep 17 00:00:00 2001 From: sirius-m Date: Fri, 30 Oct 2009 00:45:35 +0000 Subject: [PATCH] setup script removes startup shortcut and runs with highest exec level --- setup.nsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.nsi b/setup.nsi index 023914fab9b..e30ff13cc43 100644 --- a/setup.nsi +++ b/setup.nsi @@ -3,6 +3,8 @@ Name Bitcoin +RequestExecutionLevel highest + # General Symbol Definitions !define REGKEY "SOFTWARE\$(^Name)" !define VERSION 0.1.6 @@ -110,6 +112,7 @@ Section -un.post UNSEC0001 DeleteRegKey HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall Bitcoin.lnk" Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Bitcoin.lnk" + Delete /REBOOTOK "$SMSTARTUP\Bitcoin.lnk" Delete /REBOOTOK $INSTDIR\uninstall.exe Delete /REBOOTOK $INSTDIR\db.log DeleteRegValue HKCU "${REGKEY}" StartMenuGroup