##// END OF EJS Templates
packaging: set the FileVersion field in the Inno installer executable...
Matt Harbison -
r44708:f37971c3 stable
parent child Browse files
Show More
@@ -20,6 +20,7 b' from .py2exe import ('
20 )
20 )
21 from .util import (
21 from .util import (
22 find_vc_runtime_files,
22 find_vc_runtime_files,
23 normalize_windows_version,
23 read_version_py,
24 read_version_py,
24 )
25 )
25
26
@@ -156,6 +157,7 b' def build('
156 version = read_version_py(source_dir)
157 version = read_version_py(source_dir)
157
158
158 args.append('/dVERSION=%s' % version)
159 args.append('/dVERSION=%s' % version)
160 args.append('/dQUAD_VERSION=%s' % normalize_windows_version(version))
159
161
160 args.append('/Odist')
162 args.append('/Odist')
161 args.append(str(inno_build_dir / 'mercurial.iss'))
163 args.append(str(inno_build_dir / 'mercurial.iss'))
@@ -32,6 +32,7 b' SourceDir=stage'
32 VersionInfoDescription=Mercurial distributed SCM (version {#VERSION})
32 VersionInfoDescription=Mercurial distributed SCM (version {#VERSION})
33 VersionInfoCopyright=Copyright 2005-2020 Matt Mackall and others
33 VersionInfoCopyright=Copyright 2005-2020 Matt Mackall and others
34 VersionInfoCompany=Matt Mackall and others
34 VersionInfoCompany=Matt Mackall and others
35 VersionInfoVersion={#QUAD_VERSION}
35 InternalCompressLevel=max
36 InternalCompressLevel=max
36 SolidCompression=true
37 SolidCompression=true
37 SetupIconFile=../mercurial.ico
38 SetupIconFile=../mercurial.ico
General Comments 0
You need to be logged in to leave comments. Login now