2
; This file is part of Poedit (http://www.poedit.net)
4
; Copyright (C) 1999-2007 Vaclav Slavik
6
; Permission is hereby granted, free of charge, to any person obtaining a
7
; copy of this software and associated documentation files (the "Software"),
8
; to deal in the Software without restriction, including without limitation
9
; the rights to use, copy, modify, merge, publish, distribute, sublicense,
10
; and/or sell copies of the Software, and to permit persons to whom the
11
; Software is furnished to do so, subject to the following conditions:
13
; The above copyright notice and this permission notice shall be included in
14
; all copies or substantial portions of the Software.
16
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22
; DEALINGS IN THE SOFTWARE.
24
; $Id: poedit.iss 1175 2007-10-03 06:38:00Z vaclavslavik $
26
; Inno Setup installer script
29
#define VERSION "1.3.7"
31
; FIXME: extract this from manifest file somehow?
32
#define CRT_VERSION "8.0.50727.762"
33
#define CRT_HASH1 "1fc8b3b9a1e18e3b"
34
#define CRT_HASH2 "6b128700"
35
#define ASSEMBLY "x86_Microsoft.VC80.CRT_" + CRT_HASH1 + "_" + CRT_VERSION + "_x-ww_" + CRT_HASH2
36
#define WINDIR GetEnv("WINDIR")
39
OutputBaseFilename=poedit-{#VERSION}-setup
41
AppVerName=Poedit {#VERSION}
43
ChangesAssociations=true
44
AlwaysShowComponentsList=true
46
DefaultDirName={pf}\Poedit
48
DefaultGroupName=Poedit
53
Compression=lzma/ultra
55
WindowShowCaption=true
56
WindowStartMaximized=false
57
FlatComponentsList=true
65
InternalCompressLevel=ultra
66
AppID={{68EB2C37-083A-4303-B5D8-41FA67E50B8F}
67
VersionInfoTextVersion={#VERSION}
68
VersionInfoCopyright=� 1999-2007 Vaclav Slavik
69
VersionInfoVersion={#VERSION}
70
VersionInfoCompany=Vaclav Slavik
71
VersionInfoDescription=Installer for Poedit
72
AppCopyright=� 1999-2007 Vaclav Slavik
73
AppPublisher=Vaclav Slavik
74
AppSupportURL=http://www.poedit.net/support.php
75
AppUpdatesURL=http://www.poedit.net/download.php
77
AppContact=poedit-users@lists.sourceforge.net
78
UninstallDisplayIcon={app}\bin\poedit.exe
79
UninstallDisplayName=Poedit
83
Source: win32\poedit.exe; DestDir: {app}\bin; DestName: poedit.exe; Components: core
84
Source: deps\gettext\COPYING; DestDir: {app}\doc; Components: docs; DestName: GNU_Gettext_COPYING.txt
85
Source: deps\gettext\xgettext.exe; DestDir: {app}\bin; Components: core
86
Source: deps\gettext\msgmerge.exe; DestDir: {app}\bin; Components: core
87
Source: deps\gettext\msgunfmt.exe; DestDir: {app}\bin; Components: core
88
Source: deps\gettext\msgfmt.exe; DestDir: {app}\bin; Components: core
89
Source: README; DestDir: {app}\doc; DestName: readme.txt; Components: docs
90
Source: docs\chm\poedit.chm; DestDir: {app}\share\poedit\help\en; Components: docs
91
Source: docs\chm\gettext.chm; DestDir: {app}\share\poedit\help\en\gettext; Components: docs
92
Source: docs\chm\poedit-hr.chm; DestDir: {app}\share\poedit\help\hr; Components: i18n
93
Source: COPYING; DestDir: {app}\doc; DestName: copying.txt; Components: docs
94
Source: NEWS; DestDir: {app}\doc; DestName: news.txt; Components: docs
95
Source: src\icons\*.png; DestDir: {app}\share\poedit\icons; Components: core
96
Source: {#WINDIR}\WinSxS\Manifests\{#ASSEMBLY}.manifest; DestDir: {app}\bin; Components: core; DestName: Microsoft.VC80.CRT.manifest
97
Source: {#WINDIR}\WinSxS\{#ASSEMBLY}\*.dll; DestDir: {app}\bin; Components: core
98
#include "poedit-locale-files.iss"
101
; delete files from previous versions that are no longer needed (and in case of
102
; poedit.exe.manifest, actually harmful):
103
Name: {app}\bin\poedit.exe.manifest; Type: files; Components: core
104
Name: {app}\bin\gettextlib.dll; Type: files; Components: core
105
Name: {app}\bin\gettextsrc.dll; Type: files; Components: core
106
Name: {app}\bin\iconv.dll; Type: files; Components: core
107
Name: {app}\bin\intl.dll; Type: files; Components: core
108
Name: {app}\bin\mingwm10.dll; Type: files; Components: core
111
Root: HKCR; SubKey: .po; ValueType: string; ValueData: GettextFile; Flags: uninsdeletekey noerror
112
Root: HKCR; SubKey: GettextFile; ValueType: string; ValueData: Gettext message catalog; Flags: uninsdeletekey noerror
113
Root: HKCR; SubKey: GettextFile\Shell\Open\Command; ValueType: string; ValueData: """{app}\bin\poedit.exe"" ""%1"""; Flags: uninsdeletevalue noerror
114
Root: HKCR; Subkey: GettextFile\DefaultIcon; ValueType: string; ValueData: {app}\bin\poedit.exe,0; Flags: uninsdeletekey noerror
115
Root: HKCU; Subkey: Software\Vaclav Slavik; Flags: uninsdeletekeyifempty dontcreatekey
116
Root: HKCU; Subkey: Software\Vaclav Slavik\poedit; Flags: uninsdeletekey dontcreatekey
117
Root: HKLM; Subkey: Software\Vaclav Slavik; Flags: uninsdeletekeyifempty; Check: InstallGlobally
118
Root: HKLM; Subkey: Software\Vaclav Slavik\poedit; Flags: uninsdeletekey; Check: InstallGlobally
119
Root: HKLM; Subkey: Software\Vaclav Slavik\poedit\{#VERSION}; ValueType: string; ValueName: application_path; ValueData: {app}; Flags: uninsdeletevalue; Check: InstallGlobally
120
Root: HKCU; Subkey: Software\Vaclav Slavik; Flags: uninsdeletekeyifempty; Check: InstallLocally
121
Root: HKCU; Subkey: Software\Vaclav Slavik\poedit\{#VERSION}; ValueType: string; ValueName: application_path; ValueData: {app}; Flags: uninsdeletevalue; Check: InstallLocally
124
Name: {group}\Poedit; Filename: {app}\bin\poedit.exe; WorkingDir: {app}; IconIndex: 0
125
Name: {group}\Readme; Filename: {app}\doc\readme.txt; IconIndex: 0
128
Filename: {app}\doc\readme.txt; Description: View readme.txt; Flags: shellexec postinstall unchecked; Components: docs
129
Filename: {app}\bin\poedit.exe; WorkingDir: {app}; Description: Run Poedit now; Flags: postinstall unchecked nowait
132
UseAbsolutePaths=false
135
Name: {app}\bin; Components: core
136
Name: {app}\doc; Components: docs
137
Name: {app}\share; Components: core
138
Name: {app}\share\locale; Components: core
139
Name: {app}\share\poedit; Components: core
140
Name: {app}\share\poedit\icons; Components: core
141
Name: {app}\share\poedit\help; Components: docs
142
Name: {app}\share\poedit\help\en; Components: docs
143
Name: {app}\share\poedit\help\en\gettext; Components: docs
144
Name: {app}\share\poedit\help\hr; Components: docs
145
#include "poedit-locale-dirs.iss"
148
Name: core; Description: Core files; Flags: fixed; Types: custom compact full
149
Name: docs; Description: Documentation; Types: custom compact full
150
Name: i18n; Description: Localization files for the UI; Types: full
153
BeveledLabel=http://www.poedit.net
157
{ ------------------------------------------------------------------ }
158
{ Helper functions: }
159
{ ------------------------------------------------------------------ }
161
function InstallLocally : boolean;
163
result := not IsAdminLoggedOn;
166
function InstallGlobally : boolean;
168
result := IsAdminLoggedOn;
2
; This file is part of Poedit (http://www.poedit.net)
4
; Copyright (C) 1999-2007 Vaclav Slavik
6
; Permission is hereby granted, free of charge, to any person obtaining a
7
; copy of this software and associated documentation files (the "Software"),
8
; to deal in the Software without restriction, including without limitation
9
; the rights to use, copy, modify, merge, publish, distribute, sublicense,
10
; and/or sell copies of the Software, and to permit persons to whom the
11
; Software is furnished to do so, subject to the following conditions:
13
; The above copyright notice and this permission notice shall be included in
14
; all copies or substantial portions of the Software.
16
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22
; DEALINGS IN THE SOFTWARE.
24
; $Id: poedit.iss 1220 2007-11-24 17:48:46Z vaclavslavik $
26
; Inno Setup installer script
29
#define VERSION "1.3.8"
30
#define VERSION_FULL "1.3.8pre1"
32
; FIXME: extract this from manifest file somehow?
33
#define CRT_VERSION "8.0.50727.762"
34
#define CRT_HASH1 "1fc8b3b9a1e18e3b"
35
#define CRT_HASH2 "6b128700"
36
#define ASSEMBLY "x86_Microsoft.VC80.CRT_" + CRT_HASH1 + "_" + CRT_VERSION + "_x-ww_" + CRT_HASH2
37
#define WINDIR GetEnv("WINDIR")
39
#include "poedit-locale-files.iss"
42
OutputBaseFilename=poedit-{#VERSION_FULL}-setup
44
AppVerName=Poedit {#VERSION_FULL}
46
ChangesAssociations=true
47
AlwaysShowComponentsList=true
49
DefaultDirName={pf}\Poedit
51
DefaultGroupName=Poedit
56
Compression=lzma/ultra
58
WindowShowCaption=true
59
WindowStartMaximized=false
60
FlatComponentsList=true
68
InternalCompressLevel=ultra
69
AppID={{68EB2C37-083A-4303-B5D8-41FA67E50B8F}
70
VersionInfoTextVersion={#VERSION_FULL}
71
VersionInfoCopyright=� 1999-2007 Vaclav Slavik
72
VersionInfoVersion={#VERSION}
73
VersionInfoCompany=Vaclav Slavik
74
VersionInfoDescription=Installer for Poedit
75
AppCopyright=� 1999-2007 Vaclav Slavik
76
AppPublisher=Vaclav Slavik
77
AppSupportURL=http://www.poedit.net/support.php
78
AppUpdatesURL=http://www.poedit.net/download.php
79
AppVersion={#VERSION_FULL}
80
AppContact=poedit-users@lists.sourceforge.net
81
UninstallDisplayIcon={app}\bin\poedit.exe
82
UninstallDisplayName=Poedit
86
Source: win32\poedit.exe; DestDir: {app}\bin; DestName: poedit.exe; Components: core
87
Source: deps\gettext\COPYING; DestDir: {app}\doc; Components: docs; DestName: GNU_Gettext_COPYING.txt
88
Source: deps\gettext\xgettext.exe; DestDir: {app}\bin; Components: core
89
Source: deps\gettext\msgmerge.exe; DestDir: {app}\bin; Components: core
90
Source: deps\gettext\msgunfmt.exe; DestDir: {app}\bin; Components: core
91
Source: deps\gettext\msgfmt.exe; DestDir: {app}\bin; Components: core
92
Source: deps\gettext\msgcat.exe; DestDir: {app}\bin; Components: core
93
Source: README; DestDir: {app}\doc; DestName: readme.txt; Components: docs
94
Source: docs\chm\poedit.chm; DestDir: {app}\share\poedit\help\en; Components: docs
95
Source: docs\chm\gettext.chm; DestDir: {app}\share\poedit\help\en\gettext; Components: docs
96
Source: docs\chm\poedit-hr.chm; DestDir: {app}\share\poedit\help\hr; Components: i18n
97
Source: COPYING; DestDir: {app}\doc; DestName: copying.txt; Components: docs
98
Source: NEWS; DestDir: {app}\doc; DestName: news.txt; Components: docs
99
Source: src\icons\*.png; DestDir: {app}\share\poedit\icons; Components: core
100
Source: {#WINDIR}\WinSxS\Manifests\{#ASSEMBLY}.manifest; DestDir: {app}\bin; Components: core; DestName: Microsoft.VC80.CRT.manifest
101
Source: {#WINDIR}\WinSxS\{#ASSEMBLY}\*.dll; DestDir: {app}\bin; Components: core
105
; delete files from previous versions that are no longer needed (and in case of
106
; poedit.exe.manifest, actually harmful):
107
Name: {app}\bin\poedit.exe.manifest; Type: files; Components: core
108
Name: {app}\bin\gettextlib.dll; Type: files; Components: core
109
Name: {app}\bin\gettextsrc.dll; Type: files; Components: core
110
Name: {app}\bin\iconv.dll; Type: files; Components: core
111
Name: {app}\bin\intl.dll; Type: files; Components: core
112
Name: {app}\bin\mingwm10.dll; Type: files; Components: core
115
Root: HKCR; SubKey: .po; ValueType: string; ValueData: GettextFile; Flags: uninsdeletekey noerror
116
Root: HKCR; SubKey: GettextFile; ValueType: string; ValueData: Gettext message catalog; Flags: uninsdeletekey noerror
117
Root: HKCR; SubKey: GettextFile\Shell\Open\Command; ValueType: string; ValueData: """{app}\bin\poedit.exe"" ""%1"""; Flags: uninsdeletevalue noerror
118
Root: HKCR; Subkey: GettextFile\DefaultIcon; ValueType: string; ValueData: {app}\bin\poedit.exe,0; Flags: uninsdeletekey noerror
119
Root: HKCU; Subkey: Software\Vaclav Slavik; Flags: uninsdeletekeyifempty dontcreatekey
120
Root: HKCU; Subkey: Software\Vaclav Slavik\poedit; Flags: uninsdeletekey dontcreatekey
123
Name: {group}\Poedit; Filename: {app}\bin\poedit.exe; WorkingDir: {app}; IconIndex: 0
124
Name: {group}\Readme; Filename: {app}\doc\readme.txt; IconIndex: 0
127
Filename: {app}\doc\readme.txt; Description: View readme.txt; Flags: shellexec postinstall unchecked; Components: docs
128
Filename: {app}\bin\poedit.exe; WorkingDir: {app}; Description: Run Poedit now; Flags: postinstall unchecked nowait
131
UseAbsolutePaths=false
134
Name: {app}\bin; Components: core
135
Name: {app}\doc; Components: docs
136
Name: {app}\share; Components: core
137
Name: {app}\share\locale; Components: i18n
138
Name: {app}\share\poedit; Components: core
139
Name: {app}\share\poedit\icons; Components: core
140
Name: {app}\share\poedit\help; Components: docs
141
Name: {app}\share\poedit\help\en; Components: docs
142
Name: {app}\share\poedit\help\en\gettext; Components: docs
143
Name: {app}\share\poedit\help\hr; Components: docs
146
Name: core; Description: Core files; Flags: fixed; Types: custom compact full
147
Name: docs; Description: Documentation; Types: custom compact full
148
Name: i18n; Description: Localization files for the UI; Types: full
151
BeveledLabel=http://www.poedit.net