changeset 494:613fbcb5df0c

Add autostart entry and finish renaming
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 25 Apr 2014 09:03:16 +0000
parents 48d7b956bd98
children 7a8f5b85fd9a
files packaging/trustbridge.nsi
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/trustbridge.nsi	Thu Apr 24 17:04:49 2014 +0000
+++ b/packaging/trustbridge.nsi	Fri Apr 25 09:03:16 2014 +0000
@@ -91,7 +91,7 @@
 Computer installliert. $\r$\n$\r$\n\
 Klicken Sie auf 'Fertig stellen', um den Installations-Assistenten\
 zu schließen."
-!define MUI_FINISHPAGE_RUN $INSTDIR\m13ui.exe
+!define MUI_FINISHPAGE_RUN $INSTDIR\trustbridge.exe
 !define MUI_FINISHPAGE_RUN_TEXT "Anwendung starten"
 !define MUI_FINISHPAGE_LINK "Mehr unter http://www.bsi.bund.de" 
 !define MUI_FINISHPAGE_LINK_LOCATION "http://www.bsi.bund.de"
@@ -130,14 +130,17 @@
 
   WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR
 
-    ;Create uninstaller
+; Set up autostart
+  WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Run" "TrustBridge" "$INSTDIR\trustbridge.exe --tray"
+
+;Create uninstaller
   WriteUninstaller "$INSTDIR\Uninstall.exe"
 
   !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
 
   ;Create shortcuts
   CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
-  CreateShortCut "$SMPROGRAMS\$StartMenuFolder\${productname}.lnk" "$INSTDIR\m13ui.exe"
+  CreateShortCut "$SMPROGRAMS\$StartMenuFolder\${productname}.lnk" "$INSTDIR\trustbridge.exe"
 
   !insertmacro MUI_STARTMENU_WRITE_END
 

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