diff options
author | sirius-m <sirius-m@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-10-30 00:45:35 +0000 |
---|---|---|
committer | sirius-m <sirius-m@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-10-30 00:45:35 +0000 |
commit | ae3ae3df7616df799a59ee74cb1ef2b5fcec1c76 (patch) | |
tree | 6e7a4a043fd9921eac88617269cba82aacd1129a /setup.nsi | |
parent | 7be46ce487e2f3c6e145b9bc56cc37d8de97df9e (diff) | |
download | bitcoin-ae3ae3df7616df799a59ee74cb1ef2b5fcec1c76.tar.xz |
setup script removes startup shortcut and runs with highest exec level
Diffstat (limited to 'setup.nsi')
-rw-r--r-- | setup.nsi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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
|