##// END OF EJS Templates
Document Windows installer build process.
Bryan O'Sullivan -
r1291:a942bf41 default
parent child Browse files
Show More
@@ -0,0 +1,43 b''
1 The standalone Windows installer for Mercurial is built in a somewhat
2 jury-rigged fashion.
3
4 It has the following prerequisites, at least as I build it:
5
6 Python for Windows
7 http://www.python.org/ftp/python/2.4.1/python-2.4.1.msi
8
9 MinGW
10 http://www.mingw.org/
11
12 Python for Windows Extensions
13 http://sourceforge.net/projects/pywin32/
14
15 mfc71.dll (just download, don't install)
16 http://starship.python.net/crew/mhammond/win32/
17
18 The py2exe distutils extension
19 http://sourceforge.net/projects/py2exe/
20
21 Inno Setup
22 http://www.jrsoftware.org/isinfo.php
23
24 ISTool
25 http://www.istool.org/default.aspx/
26
27 And, of course, Mercurial itself.
28
29 Once you have all this installed and built, clone a copy of the
30 Mercurial repository you want to package, and name the repo
31 C:\hg\hg-release.
32
33 In a shell, build a standalone copy of the hg.exe program:
34
35 python setup.py build -c mingw32 py2exe -b 1
36
37 Copy mfc71.dll into the dist directory that just got created.
38
39 Run ISTool, and open the C:\hg\hg-release\contrib\win32\mercurial.iss
40 file.
41
42 In ISTool, type Ctrl-F9 to compile the installer file. The actual
43 installer will be in the C:\hg\hg-release\Output directory.
General Comments 0
You need to be logged in to leave comments. Login now