[PATCH 1 of 6] Add autostart entry and finish renaming

Wald Commits scm-commit at wald.intevation.org
Fri Apr 25 12:16:54 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398416596 0
# Node ID 613fbcb5df0c4b17d648dae5103b3fdc58a5447f
# Parent  48d7b956bd98db868e8ef047264724a02ad41b3d
Add autostart entry and finish renaming

diff -r 48d7b956bd98 -r 613fbcb5df0c packaging/trustbridge.nsi
--- 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
 


More information about the Trustbridge-commits mailing list