root / Install / InstLocale.iss @ 1
Historique | Voir | Annoter | Télécharger (9,284 ko)
1 |
[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 |
Source: ..\tpmath.dll; DestDir: {app}; Flags: promptifolder |
43 |
Source: ..\sqlite3.dll; DestDir: {app}; Flags: promptifolder |
44 |
Source: I:\INRA-AFZ\InraAfz.rec; DestDir: {app}; Flags: promptifolder |
45 |
Source: I:\Help\HTML Help\{#Project}_fr.chm; DestDir: {app}; Flags: promptifolder |
46 |
Source: I:\Help\HTML Help\{#Project}_en.chm; DestDir: {app}; Flags: promptifolder |
47 |
Source: InstData.exe; DestDir: {app}; Flags: ignoreversion |
48 |
Source: I:\Unicode\languagecodes.po; DestDir: {app}; Flags: promptifolder |
49 |
Source: I:\Unicode\languagecodes.mo; DestDir: {app}; Flags: promptifolder |
50 |
; de |
51 |
Source: {#LocaleDir}\de\LC_MESSAGES\default.po; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
52 |
Source: {#LocaleDir}\de\LC_MESSAGES\default.mo; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
53 |
Source: {#LocaleDir}\de\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
54 |
Source: {#LocaleDir}\de\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
55 |
Source: {#LocaleDir}\de\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
56 |
Source: {#LocaleDir}\de\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\de\LC_MESSAGES; Flags: confirmoverwrite |
57 |
; en_GB |
58 |
Source: {#LocaleDir}\en_GB\LC_MESSAGES\default.po; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
59 |
Source: {#LocaleDir}\en_GB\LC_MESSAGES\default.mo; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
60 |
Source: {#LocaleDir}\en_GB\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
61 |
Source: {#LocaleDir}\en_GB\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
62 |
Source: {#LocaleDir}\en_GB\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
63 |
Source: {#LocaleDir}\en_GB\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\en_GB\LC_MESSAGES; Flags: confirmoverwrite |
64 |
; es |
65 |
Source: {#LocaleDir}\es\LC_MESSAGES\default.po; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
66 |
Source: {#LocaleDir}\es\LC_MESSAGES\default.mo; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
67 |
Source: {#LocaleDir}\es\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
68 |
Source: {#LocaleDir}\es\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
69 |
Source: {#LocaleDir}\es\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
70 |
Source: {#LocaleDir}\es\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\es\LC_MESSAGES; Flags: confirmoverwrite |
71 |
; es_MX |
72 |
;Source: {#LocaleDir}\es_MX\LC_MESSAGES\default.po; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
73 |
;Source: {#LocaleDir}\es_MX\LC_MESSAGES\default.mo; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
74 |
;Source: {#LocaleDir}\es_MX\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
75 |
;Source: {#LocaleDir}\es_MX\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
76 |
;Source: {#LocaleDir}\es_MX\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
77 |
;Source: {#LocaleDir}\es_MX\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\es_MX\LC_MESSAGES; Flags: confirmoverwrite |
78 |
; fr |
79 |
Source: {#LocaleDir}\fr\LC_MESSAGES\default.po; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
80 |
Source: {#LocaleDir}\fr\LC_MESSAGES\default.mo; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
81 |
Source: {#LocaleDir}\fr\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
82 |
Source: {#LocaleDir}\fr\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
83 |
Source: {#LocaleDir}\fr\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
84 |
Source: {#LocaleDir}\fr\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\fr\LC_MESSAGES; Flags: confirmoverwrite |
85 |
; it |
86 |
Source: {#LocaleDir}\it\LC_MESSAGES\default.po; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
87 |
Source: {#LocaleDir}\it\LC_MESSAGES\default.mo; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
88 |
Source: {#LocaleDir}\it\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
89 |
Source: {#LocaleDir}\it\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
90 |
Source: {#LocaleDir}\it\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
91 |
Source: {#LocaleDir}\it\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\it\LC_MESSAGES; Flags: confirmoverwrite |
92 |
; nl |
93 |
Source: {#LocaleDir}\nl\LC_MESSAGES\default.po; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
94 |
Source: {#LocaleDir}\nl\LC_MESSAGES\default.mo; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
95 |
Source: {#LocaleDir}\nl\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
96 |
Source: {#LocaleDir}\nl\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
97 |
Source: {#LocaleDir}\nl\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
98 |
Source: {#LocaleDir}\nl\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\nl\LC_MESSAGES; Flags: confirmoverwrite |
99 |
; pl |
100 |
Source: {#LocaleDir}\pl\LC_MESSAGES\default.po; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
101 |
Source: {#LocaleDir}\pl\LC_MESSAGES\default.mo; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
102 |
Source: {#LocaleDir}\pl\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
103 |
Source: {#LocaleDir}\pl\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
104 |
Source: {#LocaleDir}\pl\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
105 |
Source: {#LocaleDir}\pl\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\pl\LC_MESSAGES; Flags: confirmoverwrite |
106 |
; pt_BR |
107 |
Source: {#LocaleDir}\pt_BR\LC_MESSAGES\default.po; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
108 |
Source: {#LocaleDir}\pt_BR\LC_MESSAGES\default.mo; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
109 |
Source: {#LocaleDir}\pt_BR\LC_MESSAGES\Delphi.po; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
110 |
Source: {#LocaleDir}\pt_BR\LC_MESSAGES\Delphi.mo; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
111 |
Source: {#LocaleDir}\pt_BR\LC_MESSAGES\InraAfz.po; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
112 |
Source: {#LocaleDir}\pt_BR\LC_MESSAGES\InraAfz.mo; DestDir: {app}\locale\pt_BR\LC_MESSAGES; Flags: confirmoverwrite |
113 |
|
114 |
[INI] |
115 |
Filename: {app}\{#Project}.url; Section: InternetShortcut; Key: URL; String: {#URL} |
116 |
|
117 |
[Icons] |
118 |
Name: {group}\{#Project}; Filename: {app}\{#Project}.exe; WorkingDir: {app} |
119 |
Name: {group}\{cm:ProgramOnTheWeb,{#Project}}; Filename: {app}\{#Project}.url; WorkingDir: {app} |
120 |
Name: {group}\{cm:UninstallProgram,{#Project}}; Filename: {uninstallexe}; WorkingDir: {app} |
121 |
Name: {group}\Install a new dataset; Filename: {app}\InstData.exe; WorkingDir: {app} |
122 |
Name: {userdesktop}\{#Project}; Filename: {app}\{#Project}.exe; WorkingDir: {app}; Tasks: desktopicon |
123 |
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\{#Project}; Filename: {app}\{#Project}.exe; WorkingDir: {app}; Tasks: quicklaunchicon |
124 |
|
125 |
[Registry] |
126 |
Root: HKU; Subkey: Software\Borland\Locale; ValueName: {app}\{#Project}.exe; Flags: deletevalue |
127 |
|
128 |
[InstallDelete] |
129 |
Type: files; Name: {app}\{#Project}\{#Project}.DEU |
130 |
Type: files; Name: {app}\{#Project}\{#Project}.ENG |
131 |
Type: files; Name: {app}\{#Project}\{#Project}.ENU |
132 |
Type: files; Name: {app}\{#Project}\{#Project}.ESP |
133 |
Type: files; Name: {app}\{#Project}\{#Project}.ITA |
134 |
Type: files; Name: {app}\{#Project}\{#Project}.NLD |
135 |
Type: files; Name: {app}\{#Project}\{#Project}.PLK |
136 |
Type: files; Name: {app}\{#Project}\{#Project}.PTB |
137 |
Type: files; Name: {app}\{#Project}\{#Project}_ENG.chm |
138 |
Type: files; Name: {app}\{#Project}\{#Project}_ENU.chm |
139 |
Type: files; Name: {app}\{#Project}\{#Project}_FRA.chm |
140 |
|
141 |
[UninstallDelete] |
142 |
Type: files; Name: {app}\{#Project}.url |