Mercurial > trustbridge
comparison packaging/trustbridge.nsi @ 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 | 8ac2d9b0668d |
children | 715d41aac9c8 |
comparison
equal
deleted
inserted
replaced
900:95e1b2dd9f0e | 901:a10eae8ca290 |
---|---|
78 Achtung: Dies ist eine Testversion!" | 78 Achtung: Dies ist eine Testversion!" |
79 | 79 |
80 !define MUI_FINISHPAGE_NOAUTOCLOSE | 80 !define MUI_FINISHPAGE_NOAUTOCLOSE |
81 !define MUI_UNFINISHPAGE_NOAUTOCLOSE | 81 !define MUI_UNFINISHPAGE_NOAUTOCLOSE |
82 | 82 |
83 !define MUI_STARTMENUPAGE_REGISTRY_ROOT "SHCTX" | 83 !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU" |
84 !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\${productname_short}" | 84 !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\${productname_short}" |
85 !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" | 85 !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" |
86 | 86 |
87 | 87 |
88 ;-------------------------------- | 88 ;-------------------------------- |
201 StrCmp $is_update '1' done | 201 StrCmp $is_update '1' done |
202 | 202 |
203 WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR | 203 WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR |
204 | 204 |
205 ; Set up autostart | 205 ; Set up autostart |
206 WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Run" "TrustBridge" "$INSTDIR\trustbridge.exe --tray" | 206 WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "TrustBridge" "$INSTDIR\trustbridge.exe --tray" |
207 | 207 |
208 ; Register logging | 208 ; Register logging |
209 WriteRegStr SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}" "CategoryMessageFile" "$INSTDIR\trustbridge.exe" | 209 WriteRegStr SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}" "CategoryMessageFile" "$INSTDIR\trustbridge.exe" |
210 WriteRegStr SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}" "EventMessageFile" "$INSTDIR\trustbridge.exe" | 210 WriteRegStr SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}" "EventMessageFile" "$INSTDIR\trustbridge.exe" |
211 WriteRegStr SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}" "ParameterMessageFile" "$INSTDIR\trustbridge.exe" | 211 WriteRegStr SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}" "ParameterMessageFile" "$INSTDIR\trustbridge.exe" |