root / Install / InstLocale.iss @ 5
Historique | Voir | Annoter | Télécharger (10,714 ko)
1 | 1 | avalancogn | [ISPP] |
---|---|---|---|
2 | #define Project "InraPorc" |
||
3 | #define Publisher "INRA" |
||
4 | #define URL "http://www.rennes.inra.fr/inraporc" |
||
5 | ; Version |
||
6 | #define Major |
||
7 | #define Minor |
||
8 | #define Release |
||
9 | #define Build |
||
10 | #expr ParseVersion(SourcePath + '\..\' + Project + '.exe',Major,Minor,Release,Build) |
||
11 | ;#define LocaleDir "I:\Unicode\locale" |
||
12 | #define LocaleDir "..\locale" |
||
13 | |||
14 | [Setup] |
||
15 | ; Compiller |
||
16 | PrivilegesRequired=none |
||
17 | OutputBaseFilename={#Project}Locale |
||
18 | OutputDir=. |
||
19 | VersionInfoCompany=INRA - UMR SENAH |
||
20 | VersionInfoDescription={#Project} Localization Setup |
||
21 | VersionInfoVersion={#Major}.{#Minor}.{#Release}.{#Build} |
||
22 | ; Installer |
||
23 | AppMutex={#Project} |
||
24 | AppName={#Project} translation environment |
||
25 | AppVerName=translation environment for {#Project} version {#Major}.{#Minor}.{#Release}.{#Build} |
||
26 | AppPublisher={#Publisher} |
||
27 | AppPublisherURL={#URL} |
||
28 | DefaultDirName={pf}\{#Project} |
||
29 | DefaultGroupName={#Project} |
||
30 | ;DirExistsWarning=no |
||
31 | ;EnableDirDoesntExistWarning=yes |
||
32 | ShowLanguageDialog=no |
||
33 | ;Uninstallable=no |
||
34 | AllowNoIcons=yes |
||
35 | |||
36 | [Tasks] |
||
37 | Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons} |
||
38 | Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked |
||
39 | |||
40 | [Files] |
||
41 | Source: ..\{#Project}.exe; DestDir: {app}; Flags: ignoreversion |
||
42 | 5 | avalancogn | Source: ..\dmath.dll; DestDir: {app}; Flags: promptifolder |
43 | 1 | avalancogn | Source: ..\sqlite3.dll; DestDir: {app}; Flags: promptifolder |
44 | 5 | avalancogn | Source: ..\libeay32.dll; DestDir: {app}; Flags: promptifolder |
45 | Source: ..\ssleay32.dll; DestDir: {app}; Flags: promptifolder |
||
46 | Source: ..\InraAfz.rec; DestDir: {app}; Flags: promptifolder |
||
47 | Source: ..\{#Project}_fr.chm; DestDir: {app}; Flags: promptifolder |
||
48 | Source: ..\{#Project}_en.chm; DestDir: {app}; Flags: promptifolder |
||
49 | 1 | avalancogn | Source: InstData.exe; DestDir: {app}; Flags: ignoreversion |
50 | 5 | avalancogn | Source: ..\languagecodes.po; DestDir: {app}; Flags: promptifolder |
51 | Source: ..\languagecodes.mo; DestDir: {app}; Flags: promptifolder |
||
52 | 1 | avalancogn | ; de |
53 | 5 | avalancogn | ;Source: {#LocaleDir}\de\LC_MESSAGES\default.po; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
54 | ;Source: {#LocaleDir}\de\LC_MESSAGES\default.mo; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
||
55 | ;Source: {#LocaleDir}\de\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
||
56 | ;Source: {#LocaleDir}\de\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
||
57 | ;Source: {#LocaleDir}\de\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
||
58 | ;Source: {#LocaleDir}\de\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
||
59 | 1 | avalancogn | ; en_GB |
60 | 5 | avalancogn | ;Source: {#LocaleDir}\en_GB\LC_MESSAGES\default.po; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
61 | ;Source: {#LocaleDir}\en_GB\LC_MESSAGES\default.mo; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
||
62 | ;Source: {#LocaleDir}\en_GB\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
||
63 | ;Source: {#LocaleDir}\en_GB\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
||
64 | ;Source: {#LocaleDir}\en_GB\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
||
65 | ;Source: {#LocaleDir}\en_GB\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
||
66 | 1 | avalancogn | ; es |
67 | 5 | avalancogn | ;Source: {#LocaleDir}\es\LC_MESSAGES\default.po; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
68 | ;Source: {#LocaleDir}\es\LC_MESSAGES\default.mo; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
||
69 | ;Source: {#LocaleDir}\es\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
||
70 | ;Source: {#LocaleDir}\es\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
||
71 | ;Source: {#LocaleDir}\es\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
||
72 | ;Source: {#LocaleDir}\es\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
||
73 | 1 | avalancogn | ; es_MX |
74 | ;Source: {#LocaleDir}\es_MX\LC_MESSAGES\default.po; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
||
75 | ;Source: {#LocaleDir}\es_MX\LC_MESSAGES\default.mo; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
||
76 | ;Source: {#LocaleDir}\es_MX\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
||
77 | ;Source: {#LocaleDir}\es_MX\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
||
78 | ;Source: {#LocaleDir}\es_MX\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
||
79 | ;Source: {#LocaleDir}\es_MX\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
||
80 | ; fr |
||
81 | 5 | avalancogn | ;Source: {#LocaleDir}\fr\LC_MESSAGES\default.po; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
82 | ;Source: {#LocaleDir}\fr\LC_MESSAGES\default.mo; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
||
83 | ;Source: {#LocaleDir}\fr\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
||
84 | ;Source: {#LocaleDir}\fr\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
||
85 | ;Source: {#LocaleDir}\fr\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
||
86 | ;Source: {#LocaleDir}\fr\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
||
87 | 1 | avalancogn | ; it |
88 | 5 | avalancogn | ;Source: {#LocaleDir}\it\LC_MESSAGES\default.po; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
89 | ;Source: {#LocaleDir}\it\LC_MESSAGES\default.mo; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
||
90 | ;Source: {#LocaleDir}\it\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
||
91 | ;Source: {#LocaleDir}\it\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
||
92 | ;Source: {#LocaleDir}\it\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
||
93 | ;Source: {#LocaleDir}\it\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
||
94 | 1 | avalancogn | ; nl |
95 | 5 | avalancogn | ;Source: {#LocaleDir}\nl\LC_MESSAGES\default.po; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
96 | ;Source: {#LocaleDir}\nl\LC_MESSAGES\default.mo; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
||
97 | ;Source: {#LocaleDir}\nl\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
||
98 | ;Source: {#LocaleDir}\nl\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
||
99 | ;Source: {#LocaleDir}\nl\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
||
100 | ;Source: {#LocaleDir}\nl\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
||
101 | 1 | avalancogn | ; pl |
102 | 5 | avalancogn | ;Source: {#LocaleDir}\pl\LC_MESSAGES\default.po; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
103 | ;Source: {#LocaleDir}\pl\LC_MESSAGES\default.mo; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
||
104 | ;Source: {#LocaleDir}\pl\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
||
105 | ;Source: {#LocaleDir}\pl\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
||
106 | ;Source: {#LocaleDir}\pl\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
||
107 | ;Source: {#LocaleDir}\pl\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
||
108 | 1 | avalancogn | ; pt_BR |
109 | 5 | avalancogn | ;Source: {#LocaleDir}\pt_BR\LC_MESSAGES\default.po; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
110 | ;Source: {#LocaleDir}\pt_BR\LC_MESSAGES\default.mo; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
||
111 | ;Source: {#LocaleDir}\pt_BR\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
||
112 | ;Source: {#LocaleDir}\pt_BR\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
||
113 | ;Source: {#LocaleDir}\pt_BR\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
||
114 | ;Source: {#LocaleDir}\pt_BR\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
||
115 | ; ro |
||
116 | ;Source: {#LocaleDir}\ro\LC_MESSAGES\default.po; DestDir: {app}\locale\ro\LC_MESSAGES; Flags: confirmoverwrite |
||
117 | ;Source: {#LocaleDir}\ro\LC_MESSAGES\default.mo; DestDir: {app}\locale\ro\LC_MESSAGES; Flags: confirmoverwrite |
||
118 | ;Source: {#LocaleDir}\ro\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\ro\LC_MESSAGES; Flags: confirmoverwrite |
||
119 | ;Source: {#LocaleDir}\ro\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\ro\LC_MESSAGES; Flags: confirmoverwrite |
||
120 | ;Source: {#LocaleDir}\ro\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\ro\LC_MESSAGES; Flags: confirmoverwrite |
||
121 | ;Source: {#LocaleDir}\ro\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\ro\LC_MESSAGES; Flags: confirmoverwrite |
||
122 | ; zh |
||
123 | Source: {#LocaleDir}\zh\LC_MESSAGES\default.po; DestDir: {app}\locale\zh\LC_MESSAGES; Flags: confirmoverwrite |
||
124 | Source: {#LocaleDir}\zh\LC_MESSAGES\default.mo; DestDir: {app}\locale\zh\LC_MESSAGES; Flags: confirmoverwrite |
||
125 | Source: {#LocaleDir}\zh\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\zh\LC_MESSAGES; Flags: confirmoverwrite |
||
126 | Source: {#LocaleDir}\zh\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\zh\LC_MESSAGES; Flags: confirmoverwrite |
||
127 | Source: {#LocaleDir}\zh\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\zh\LC_MESSAGES; Flags: confirmoverwrite |
||
128 | Source: {#LocaleDir}\zh\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\zh\LC_MESSAGES; Flags: confirmoverwrite |
||
129 | 1 | avalancogn | |
130 | [INI] |
||
131 | Filename: {app}\{#Project}.url; Section: InternetShortcut; Key: URL; String: {#URL} |
||
132 | |||
133 | [Icons] |
||
134 | Name: {group}\{#Project}; Filename: {app}\{#Project}.exe; WorkingDir: {app} |
||
135 | Name: {group}\{cm:ProgramOnTheWeb,{#Project}}; Filename: {app}\{#Project}.url; WorkingDir: {app} |
||
136 | Name: {group}\{cm:UninstallProgram,{#Project}}; Filename: {uninstallexe}; WorkingDir: {app} |
||
137 | Name: {group}\Install a new dataset; Filename: {app}\InstData.exe; WorkingDir: {app} |
||
138 | Name: {userdesktop}\{#Project}; Filename: {app}\{#Project}.exe; WorkingDir: {app}; Tasks: desktopicon |
||
139 | Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\{#Project}; Filename: {app}\{#Project}.exe; WorkingDir: {app}; Tasks: quicklaunchicon |
||
140 | |||
141 | [Registry] |
||
142 | Root: HKU; Subkey: Software\Borland\Locale; ValueName: {app}\{#Project}.exe; Flags: deletevalue |
||
143 | |||
144 | [InstallDelete] |
||
145 | Type: files; Name: {app}\{#Project}\{#Project}.DEU |
||
146 | Type: files; Name: {app}\{#Project}\{#Project}.ENG |
||
147 | Type: files; Name: {app}\{#Project}\{#Project}.ENU |
||
148 | Type: files; Name: {app}\{#Project}\{#Project}.ESP |
||
149 | Type: files; Name: {app}\{#Project}\{#Project}.ITA |
||
150 | Type: files; Name: {app}\{#Project}\{#Project}.NLD |
||
151 | Type: files; Name: {app}\{#Project}\{#Project}.PLK |
||
152 | Type: files; Name: {app}\{#Project}\{#Project}.PTB |
||
153 | Type: files; Name: {app}\{#Project}\{#Project}_ENG.chm |
||
154 | Type: files; Name: {app}\{#Project}\{#Project}_ENU.chm |
||
155 | Type: files; Name: {app}\{#Project}\{#Project}_FRA.chm |
||
156 | |||
157 | [UninstallDelete] |
||
158 | Type: files; Name: {app}\{#Project}.url |