22 http://www.jrsoftware.org/isinfo.php |
22 http://www.jrsoftware.org/isinfo.php |
23 |
23 |
24 ISTool |
24 ISTool |
25 http://www.istool.org/default.aspx/ |
25 http://www.istool.org/default.aspx/ |
26 |
26 |
|
27 add_path (you need only add_path.exe in the zip file) |
|
28 http://www.barisione.org/apps.html#add_path |
|
29 |
27 And, of course, Mercurial itself. |
30 And, of course, Mercurial itself. |
28 |
31 |
29 Once you have all this installed and built, clone a copy of the |
32 Once you have all this installed and built, clone a copy of the |
30 Mercurial repository you want to package, and name the repo |
33 Mercurial repository you want to package, and name the repo |
31 C:\hg\hg-release. |
34 C:\hg\hg-release. |
32 |
35 |
33 In a shell, build a standalone copy of the hg.exe program: |
36 In a shell, build a standalone copy of the hg.exe program: |
34 |
37 |
35 python setup.py build -c mingw32 py2exe -b 1 |
38 python setup.py build -c mingw32 py2exe -b 1 |
36 |
39 |
37 Copy mfc71.dll into the dist directory that just got created. |
40 Copy mfc71.dll and add_path.exe into the dist directory that just |
|
41 got created. |
38 |
42 |
39 Run ISTool, and open the C:\hg\hg-release\contrib\win32\mercurial.iss |
43 Run ISTool, and open the C:\hg\hg-release\contrib\win32\mercurial.iss |
40 file. |
44 file. |
41 |
45 |
42 In ISTool, type Ctrl-F9 to compile the installer file. The actual |
46 In ISTool, type Ctrl-F9 to compile the installer file. The actual |