Mercurial > trustbridge
comparison packaging/trustbridge.nsi @ 494:613fbcb5df0c
Add autostart entry and finish renaming
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 25 Apr 2014 09:03:16 +0000 |
parents | 3132ba0a305d |
children | 4f972b1f4996 |
comparison
equal
deleted
inserted
replaced
493:48d7b956bd98 | 494:613fbcb5df0c |
---|---|
89 !define MUI_FINISHPAGE_TITLE "Die Installation war erfolgreich" | 89 !define MUI_FINISHPAGE_TITLE "Die Installation war erfolgreich" |
90 !define MUI_FINISHPAGE_TEXT "Der ${productname} wurde auf Ihrem \ | 90 !define MUI_FINISHPAGE_TEXT "Der ${productname} wurde auf Ihrem \ |
91 Computer installliert. $\r$\n$\r$\n\ | 91 Computer installliert. $\r$\n$\r$\n\ |
92 Klicken Sie auf 'Fertig stellen', um den Installations-Assistenten\ | 92 Klicken Sie auf 'Fertig stellen', um den Installations-Assistenten\ |
93 zu schließen." | 93 zu schließen." |
94 !define MUI_FINISHPAGE_RUN $INSTDIR\m13ui.exe | 94 !define MUI_FINISHPAGE_RUN $INSTDIR\trustbridge.exe |
95 !define MUI_FINISHPAGE_RUN_TEXT "Anwendung starten" | 95 !define MUI_FINISHPAGE_RUN_TEXT "Anwendung starten" |
96 !define MUI_FINISHPAGE_LINK "Mehr unter http://www.bsi.bund.de" | 96 !define MUI_FINISHPAGE_LINK "Mehr unter http://www.bsi.bund.de" |
97 !define MUI_FINISHPAGE_LINK_LOCATION "http://www.bsi.bund.de" | 97 !define MUI_FINISHPAGE_LINK_LOCATION "http://www.bsi.bund.de" |
98 | 98 |
99 !insertmacro MUI_PAGE_WELCOME | 99 !insertmacro MUI_PAGE_WELCOME |
128 SetOutPath "$INSTDIR" | 128 SetOutPath "$INSTDIR" |
129 !include "filelist.nsh" | 129 !include "filelist.nsh" |
130 | 130 |
131 WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR | 131 WriteRegStr SHCTX "Software\${productname_short}" "" $INSTDIR |
132 | 132 |
133 ;Create uninstaller | 133 ; Set up autostart |
134 WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Run" "TrustBridge" "$INSTDIR\trustbridge.exe --tray" | |
135 | |
136 ;Create uninstaller | |
134 WriteUninstaller "$INSTDIR\Uninstall.exe" | 137 WriteUninstaller "$INSTDIR\Uninstall.exe" |
135 | 138 |
136 !insertmacro MUI_STARTMENU_WRITE_BEGIN Application | 139 !insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
137 | 140 |
138 ;Create shortcuts | 141 ;Create shortcuts |
139 CreateDirectory "$SMPROGRAMS\$StartMenuFolder" | 142 CreateDirectory "$SMPROGRAMS\$StartMenuFolder" |
140 CreateShortCut "$SMPROGRAMS\$StartMenuFolder\${productname}.lnk" "$INSTDIR\m13ui.exe" | 143 CreateShortCut "$SMPROGRAMS\$StartMenuFolder\${productname}.lnk" "$INSTDIR\trustbridge.exe" |
141 | 144 |
142 !insertmacro MUI_STARTMENU_WRITE_END | 145 !insertmacro MUI_STARTMENU_WRITE_END |
143 | 146 |
144 SectionEnd | 147 SectionEnd |
145 | 148 |