Mercurial > trustbridge > trustbridge
diff packaging/trustbridge.nsi @ 870:e93ae5233217
Readd autostart
This was accidentally removed in r632
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 06 Aug 2014 11:55:02 +0200 |
parents | eee419ad81b8 |
children | 8ac2d9b0668d |
line wrap: on
line diff
--- a/packaging/trustbridge.nsi Tue Aug 05 17:45:03 2014 +0200 +++ b/packaging/trustbridge.nsi Wed Aug 06 11:55:02 2014 +0200 @@ -196,7 +196,8 @@ WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR - WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR +; Set up autostart + WriteRegStr SHCTX "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" @@ -255,6 +256,9 @@ DeleteRegKey /ifempty SHCTX "Software\${productname_short}" +; Unregister autostart + DeleteRegValue SHCTX "Software\Microsoft\Windows\CurrentVersion\Run" "TrustBridge" + ; Unregister logging DeleteRegKey SHCTX "System\CurrentControlSet\services\eventlog\Application\${productname_short}"