##// END OF EJS Templates
win32: update build instructions with correct CRT version...
Pascal Quantin -
r12311:8afbf44c default
parent child Browse files
Show More
@@ -19,11 +19,11 b' matching the mercurial version you want '
19 mfc71.dll (just download, don't install; not needed for Python 2.6)
19 mfc71.dll (just download, don't install; not needed for Python 2.6)
20 http://starship.python.net/crew/mhammond/win32/
20 http://starship.python.net/crew/mhammond/win32/
21
21
22 Visual C++ 2008 SP1 redistributable package (needed for >= Python 2.6 or if you compile with MSVC)
22 Visual C++ 2008 redistributable package (needed for >= Python 2.6 or if you compile with MSVC)
23 for 32-bit:
23 for 32-bit:
24 http://www.microsoft.com/downloads/details.aspx?FamilyID=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2
24 http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf
25 for 64-bit:
25 for 64-bit:
26 http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4E
26 http://www.microsoft.com/downloads/details.aspx?familyid=bd2a6171-e2d6-4230-b809-9a8d7548c1b6
27
27
28 The py2exe distutils extension
28 The py2exe distutils extension
29 http://sourceforge.net/projects/py2exe/
29 http://sourceforge.net/projects/py2exe/
@@ -65,7 +65,7 b' If you want to create a file named setup'
65 compiler=mingw32
65 compiler=mingw32
66 you can skip the first build step.
66 you can skip the first build step.
67
67
68 Building instructions with MSVC 2008 SP1 Express Edition:
68 Building instructions with MSVC 2008 Express Edition:
69 for 32-bit:
69 for 32-bit:
70 "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
70 "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
71 python setup.py py2exe -b 2
71 python setup.py py2exe -b 2
@@ -80,15 +80,15 b' directory that just got created.'
80
80
81 If you are using Python 2.6 or later, or if you are using MSVC 2008 to compile
81 If you are using Python 2.6 or later, or if you are using MSVC 2008 to compile
82 mercurial, you must include the C runtime libraries in the installer. To do so,
82 mercurial, you must include the C runtime libraries in the installer. To do so,
83 install the Visual C++ 2008 SP1 redistributable package. Then in your
83 install the Visual C++ 2008 redistributable package. Then in your windows\winsxs
84 windows\winsxs folder, locate the folder containing the dlls version 9.0.30729.
84 folder, locate the folder containing the dlls version 9.0.21022.8.
85 For x86, it should be named like x86_Microsoft.VC90.CRT_(...)_9.0.30729(...).
85 For x86, it should be named like x86_Microsoft.VC90.CRT_(...)_9.0.21022.8(...).
86 For x64, it should be named like amd64_Microsoft.VC90.CRT_(...)_9.0.30729(...).
86 For x64, it should be named like amd64_Microsoft.VC90.CRT_(...)_9.0.21022.8(...).
87 Copy the files named msvcm90.dll, msvcp90.dll and msvcr90.dll into the dist
87 Copy the files named msvcm90.dll, msvcp90.dll and msvcr90.dll into the dist
88 directory.
88 directory.
89 Then in the windows\winsxs\manifests folder, locate the corresponding manifest
89 Then in the windows\winsxs\manifests folder, locate the corresponding manifest
90 file (x86_Microsoft.VC90.CRT_(...)_9.0.30729(...).manifest for x86,
90 file (x86_Microsoft.VC90.CRT_(...)_9.0.21022.8(...).manifest for x86,
91 amd64_Microsoft.VC90.CRT_(...)_9.0.30729(...).manifest for x64), copy it in the
91 amd64_Microsoft.VC90.CRT_(...)_9.0.21022.8(...).manifest for x64), copy it in the
92 dist directory and rename it to Microsoft.VC90.CRT.manifest.
92 dist directory and rename it to Microsoft.VC90.CRT.manifest.
93
93
94 Before building the installer, you have to build Mercurial HTML documentation
94 Before building the installer, you have to build Mercurial HTML documentation
General Comments 0
You need to be logged in to leave comments. Login now