changeset 901:a10eae8ca290

(issue85) Always install autostart and startmenu only for the installing user.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 08 Aug 2014 16:41:25 +0200
parents 95e1b2dd9f0e
children f5a48c228e9b
files packaging/trustbridge.nsi
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/trustbridge.nsi	Fri Aug 08 15:15:08 2014 +0200
+++ b/packaging/trustbridge.nsi	Fri Aug 08 16:41:25 2014 +0200
@@ -80,7 +80,7 @@
 !define MUI_FINISHPAGE_NOAUTOCLOSE
 !define MUI_UNFINISHPAGE_NOAUTOCLOSE
 
-!define MUI_STARTMENUPAGE_REGISTRY_ROOT "SHCTX"
+!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
 !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\${productname_short}"
 !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
 
@@ -203,7 +203,7 @@
   WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR
 
 ; Set up autostart
-  WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Run" "TrustBridge" "$INSTDIR\trustbridge.exe --tray"
+  WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "TrustBridge" "$INSTDIR\trustbridge.exe --tray"
 
 ; Register logging
   WriteRegStr SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}" "CategoryMessageFile" "$INSTDIR\trustbridge.exe"

http://wald.intevation.org/projects/trustbridge/