Mercurial > trustbridge
comparison packaging/trustbridge.nsi @ 506:bfcfbae151ab
Some packaging changes. Add dummy runAsUser (not working) Update Application icon
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 28 Apr 2014 09:21:27 +0000 |
parents | 4f972b1f4996 |
children | a4e75d90d3f6 |
comparison
equal
deleted
inserted
replaced
505:78959fd970b0 | 506:bfcfbae151ab |
---|---|
3 ; | 3 ; |
4 ; This file is Free Software under the GNU GPL (v>=2) | 4 ; This file is Free Software under the GNU GPL (v>=2) |
5 ; and comes with ABSOLUTELY NO WARRANTY! | 5 ; and comes with ABSOLUTELY NO WARRANTY! |
6 ; See LICENSE.txt for details. | 6 ; See LICENSE.txt for details. |
7 | 7 |
8 ; renameme.nsi | |
9 ; TODO Rename it! | |
10 ; | |
11 ; This script creates the installer for renameme it needs the | 8 ; This script creates the installer for renameme it needs the |
12 ; following definitions to be set when calling makensis: | 9 ; following definitions to be set when calling makensis: |
13 ; | 10 ; |
14 ; productname: Name of the Software as it will show up under installed | 11 ; productname: Name of the Software as it will show up under installed |
15 ; Software | 12 ; Software |
70 | 67 |
71 ; MUI welcome page text | 68 ; MUI welcome page text |
72 !define MUI_WELCOMEPAGE_TITLE "Willkommen bei der Installation des ${productname}" | 69 !define MUI_WELCOMEPAGE_TITLE "Willkommen bei der Installation des ${productname}" |
73 !define MUI_WELCOMEPAGE_TEXT "Dieser Assistent wird Sie durch die Installation von \ | 70 !define MUI_WELCOMEPAGE_TEXT "Dieser Assistent wird Sie durch die Installation von \ |
74 ${productname} begleiten. $\r$\n$\r$\n\ | 71 ${productname} begleiten. $\r$\n$\r$\n\ |
75 Der ${productname} ist eine Anwendung um Wurzelzertifikate auf ihrem System \ | 72 ${productname} ist eine Anwendung um Wurzelzertifikate auf ihrem System \ |
76 zu installieren und aktuell zu halten. $\r$\n$\r$\n\ | 73 zu installieren und aktuell zu halten. $\r$\n$\r$\n\ |
77 Klicken Sie auf Weiter, um fortzufahren." | 74 Klicken Sie auf Weiter, um fortzufahren." |
78 | 75 |
79 !define MUI_FINISHPAGE_NOAUTOCLOSE | 76 !define MUI_FINISHPAGE_NOAUTOCLOSE |
80 !define MUI_UNFINISHPAGE_NOAUTOCLOSE | 77 !define MUI_UNFINISHPAGE_NOAUTOCLOSE |
86 | 83 |
87 ;-------------------------------- | 84 ;-------------------------------- |
88 ; Pages | 85 ; Pages |
89 | 86 |
90 !define MUI_FINISHPAGE_TITLE "Die Installation war erfolgreich" | 87 !define MUI_FINISHPAGE_TITLE "Die Installation war erfolgreich" |
91 !define MUI_FINISHPAGE_TEXT "Der ${productname} wurde auf Ihrem \ | 88 !define MUI_FINISHPAGE_TEXT "${productname} wurde auf Ihrem \ |
92 Computer installliert. $\r$\n$\r$\n\ | 89 Computer installliert. $\r$\n$\r$\n\ |
93 Klicken Sie auf 'Fertig stellen', um den Installations-Assistenten\ | 90 Klicken Sie auf 'Fertig stellen', um den Installations-Assistenten\ |
94 zu schließen." | 91 zu schließen." |
95 !define MUI_FINISHPAGE_RUN $INSTDIR\trustbridge.exe | 92 !define MUI_FINISHPAGE_RUN $INSTDIR\trustbridge.exe |
96 !define MUI_FINISHPAGE_RUN_TEXT "Anwendung starten" | 93 !define MUI_FINISHPAGE_RUN_TEXT "Anwendung starten" |
94 !define MUI_FINISHPAGE_RUN_FUNCTION RunAsUser | |
97 !define MUI_FINISHPAGE_LINK "Mehr unter http://www.bsi.bund.de" | 95 !define MUI_FINISHPAGE_LINK "Mehr unter http://www.bsi.bund.de" |
98 !define MUI_FINISHPAGE_LINK_LOCATION "http://www.bsi.bund.de" | 96 !define MUI_FINISHPAGE_LINK_LOCATION "http://www.bsi.bund.de" |
99 | 97 |
100 !insertmacro MUI_PAGE_WELCOME | 98 !insertmacro MUI_PAGE_WELCOME |
101 !insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder | 99 !insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder |
113 ;-------------------------------- | 111 ;-------------------------------- |
114 ; Install Functions | 112 ; Install Functions |
115 | 113 |
116 Function ".onInit" | 114 Function ".onInit" |
117 !insertmacro MULTIUSER_INIT | 115 !insertmacro MULTIUSER_INIT |
116 FunctionEnd | |
117 | |
118 ; If we run elevated we do not want to run | |
119 ; the UI elevated as this could be a security | |
120 ; problem. | |
121 Function RunAsUser | |
122 ExecShell "" "$INSTDIR\trustbridge.exe" | |
118 FunctionEnd | 123 FunctionEnd |
119 | 124 |
120 ;-------------------------------- | 125 ;-------------------------------- |
121 ; UnInstall Functions | 126 ; UnInstall Functions |
122 | 127 |