##// END OF EJS Templates
win32: move default install path inside program files...
Steve Borho -
r5625:876acbe2 default
parent child Browse files
Show More
@@ -1,112 +1,112 b''
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
2 <html>
3 <head>
3 <head>
4 <title>Mercurial for Windows</title>
4 <title>Mercurial for Windows</title>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
6 <style type="text/css">
6 <style type="text/css">
7 <!--
7 <!--
8 .indented
8 .indented
9 {
9 {
10 padding-left: 10pt;
10 padding-left: 10pt;
11 }
11 }
12 -->
12 -->
13 </style>
13 </style>
14 </head>
14 </head>
15
15
16 <body>
16 <body>
17 <h1>Mercurial for Windows</h1>
17 <h1>Mercurial for Windows</h1>
18
18
19 <p>Welcome to Mercurial for Windows!</p>
19 <p>Welcome to Mercurial for Windows!</p>
20
20
21 <p>Mercurial is a command-line application. You must run it from
21 <p>Mercurial is a command-line application. You must run it from
22 the Windows command prompt (or if you're hard core, a <a
22 the Windows command prompt (or if you're hard core, a <a
23 href="http://www.mingw.org/">MinGW</a> shell).</p>
23 href="http://www.mingw.org/">MinGW</a> shell).</p>
24
24
25 <p><div class="indented"><i>Note: the standard <a
25 <p><div class="indented"><i>Note: the standard <a
26 href="http://www.mingw.org/">MinGW</a> msys startup script uses
26 href="http://www.mingw.org/">MinGW</a> msys startup script uses
27 rxvt which has problems setting up standard input and output.
27 rxvt which has problems setting up standard input and output.
28 Running bash directly works correctly.</i></div>
28 Running bash directly works correctly.</i></div>
29
29
30 <p>For documentation, please visit the <a
30 <p>For documentation, please visit the <a
31 href="http://www.selenic.com/mercurial">Mercurial web site</a>.
31 href="http://www.selenic.com/mercurial">Mercurial web site</a>.
32 You can also download a free book, <a
32 You can also download a free book, <a
33 href="http://hgbook.red-bean.com/">Distributed revision control
33 href="http://hgbook.red-bean.com/">Distributed revision control
34 with Mercurial</a>.</p>
34 with Mercurial</a>.</p>
35
35
36 <p>By default, Mercurial installs to <tt>C:\Mercurial</tt>. The
36 <p>By default, Mercurial installs to <tt>C:\Program Files\Mercurial</tt>. The
37 Mercurial command is called <tt>hg.exe</tt>.</p>
37 Mercurial command is called <tt>hg.exe</tt>.</p>
38
38
39 <h1>Testing Mercurial after you've installed it</h1>
39 <h1>Testing Mercurial after you've installed it</h1>
40
40
41 <p>The easiest way to check that Mercurial is installed properly is to
41 <p>The easiest way to check that Mercurial is installed properly is to
42 just type the following at the command prompt:</p>
42 just type the following at the command prompt:</p>
43
43
44 <pre>
44 <pre>
45 hg
45 hg
46 </pre>
46 </pre>
47
47
48 <p>This command should print a useful help message. If it does,
48 <p>This command should print a useful help message. If it does,
49 other Mercurial commands should work fine for you.</p>
49 other Mercurial commands should work fine for you.</p>
50
50
51 <h1>Configuration notes</h1>
51 <h1>Configuration notes</h1>
52 <h4>Default editor</h4>
52 <h4>Default editor</h4>
53 The default editor for commit messages is 'notepad'. You can set the EDITOR
53 The default editor for commit messages is 'notepad'. You can set the EDITOR
54 (or HGEDITOR) environment variable to specify your preference or set it in
54 (or HGEDITOR) environment variable to specify your preference or set it in
55 mercurial.ini:
55 mercurial.ini:
56 <pre>
56 <pre>
57 [ui]
57 [ui]
58 editor = whatever
58 editor = whatever
59 </pre>
59 </pre>
60
60
61 <h4>Configuring a Merge program</h4>
61 <h4>Configuring a Merge program</h4>
62 It should be emphasized that Mercurial by itself doesn't attempt to do a
62 It should be emphasized that Mercurial by itself doesn't attempt to do a
63 Merge at the file level, neither does it make any attempt to Resolve the conflicts.
63 Merge at the file level, neither does it make any attempt to Resolve the conflicts.
64
64
65 By default, Mercurial will use the merge program defined by the HGMERGE environment
65 By default, Mercurial will use the merge program defined by the HGMERGE environment
66 variable, or uses the one defined in the mercurial.ini file. (see <a href="http://www.selenic.com/mercurial/wiki/index.cgi/MergeProgram">MergeProgram</a> on the Mercurial Wiki for more information)
66 variable, or uses the one defined in the mercurial.ini file. (see <a href="http://www.selenic.com/mercurial/wiki/index.cgi/MergeProgram">MergeProgram</a> on the Mercurial Wiki for more information)
67
67
68 <h1>Reporting problems</h1>
68 <h1>Reporting problems</h1>
69
69
70 <p>Before you report any problems, please consult the <a
70 <p>Before you report any problems, please consult the <a
71 href="http://www.selenic.com/mercurial">Mercurial web site</a> and
71 href="http://www.selenic.com/mercurial">Mercurial web site</a> and
72 see if your question is already in our list of <a
72 see if your question is already in our list of <a
73 href="http://www.selenic.com/mercurial/wiki/index.cgi/FAQ">Frequently
73 href="http://www.selenic.com/mercurial/wiki/index.cgi/FAQ">Frequently
74 Answered Questions</a> (the "FAQ").
74 Answered Questions</a> (the "FAQ").
75
75
76 <p>If you cannot find an answer to your question, please feel
76 <p>If you cannot find an answer to your question, please feel
77 free to send mail to the Mercurial mailing list, at <a
77 free to send mail to the Mercurial mailing list, at <a
78 href="mailto:mercurial@selenic.com">mercurial@selenic.com</a>.
78 href="mailto:mercurial@selenic.com">mercurial@selenic.com</a>.
79 <b>Remember</b>, the more useful information you include in your
79 <b>Remember</b>, the more useful information you include in your
80 report, the easier it will be for us to help you!</p>
80 report, the easier it will be for us to help you!</p>
81
81
82 <p>If you are IRC-savvy, that's usually the fastest way to get
82 <p>If you are IRC-savvy, that's usually the fastest way to get
83 help. Go to <tt>#mercurial</tt> on
83 help. Go to <tt>#mercurial</tt> on
84 <tt>irc.freenode.net</tt>.</p>
84 <tt>irc.freenode.net</tt>.</p>
85
85
86 <h1>Author and copyright information</h1>
86 <h1>Author and copyright information</h1>
87
87
88 <p>Mercurial was written by <a href="http://www.selenic.com">Matt
88 <p>Mercurial was written by <a href="http://www.selenic.com">Matt
89 Mackall</a>, and is maintained by Matt and a team of
89 Mackall</a>, and is maintained by Matt and a team of
90 volunteers.</p>
90 volunteers.</p>
91
91
92 <p>The Windows installer was written by <a
92 <p>The Windows installer was written by <a
93 href="http://www.serpentine.com/blog">Bryan
93 href="http://www.serpentine.com/blog">Bryan
94 O'Sullivan</a>.</p>
94 O'Sullivan</a>.</p>
95
95
96 <p>Mercurial is Copyright 2005-2007 Matt Mackall and others.
96 <p>Mercurial is Copyright 2005-2007 Matt Mackall and others.
97 See the <tt>Contributors.txt</tt> file for a list of contributors.</p>
97 See the <tt>Contributors.txt</tt> file for a list of contributors.</p>
98
98
99 <p>Mercurial is free software; you can redistribute it and/or
99 <p>Mercurial is free software; you can redistribute it and/or
100 modify it under the terms of the <a
100 modify it under the terms of the <a
101 href="http://www.gnu.org/copyleft/gpl.html">GNU General Public
101 href="http://www.gnu.org/copyleft/gpl.html">GNU General Public
102 License</a> as published by the Free Software Foundation; either
102 License</a> as published by the Free Software Foundation; either
103 version 2 of the License, or (at your option) any later
103 version 2 of the License, or (at your option) any later
104 version.</p>
104 version.</p>
105
105
106 <p>Mercurial is distributed in the hope that it will be useful,
106 <p>Mercurial is distributed in the hope that it will be useful,
107 but <b>without any warranty</b>; without even the implied
107 but <b>without any warranty</b>; without even the implied
108 warranty of <b>merchantability</b> or <b>fitness for a
108 warranty of <b>merchantability</b> or <b>fitness for a
109 particular purpose</b>. See the GNU General Public License for
109 particular purpose</b>. See the GNU General Public License for
110 more details.</p>
110 more details.</p>
111 </body>
111 </body>
112 </html>
112 </html>
@@ -1,71 +1,71 b''
1 ; Script generated by the Inno Setup Script Wizard.
1 ; Script generated by the Inno Setup Script Wizard.
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3
3
4 [Setup]
4 [Setup]
5 AppCopyright=Copyright 2005-2007 Matt Mackall and others
5 AppCopyright=Copyright 2005-2007 Matt Mackall and others
6 AppName=Mercurial
6 AppName=Mercurial
7 AppVerName=Mercurial snapshot
7 AppVerName=Mercurial snapshot
8 InfoAfterFile=contrib/win32/postinstall.txt
8 InfoAfterFile=contrib/win32/postinstall.txt
9 LicenseFile=COPYING
9 LicenseFile=COPYING
10 ShowLanguageDialog=yes
10 ShowLanguageDialog=yes
11 AppPublisher=Matt Mackall and others
11 AppPublisher=Matt Mackall and others
12 AppPublisherURL=http://www.selenic.com/mercurial
12 AppPublisherURL=http://www.selenic.com/mercurial
13 AppSupportURL=http://www.selenic.com/mercurial
13 AppSupportURL=http://www.selenic.com/mercurial
14 AppUpdatesURL=http://www.selenic.com/mercurial
14 AppUpdatesURL=http://www.selenic.com/mercurial
15 AppID={{4B95A5F1-EF59-4B08-BED8-C891C46121B3}
15 AppID={{4B95A5F1-EF59-4B08-BED8-C891C46121B3}
16 AppContact=mercurial@selenic.com
16 AppContact=mercurial@selenic.com
17 OutputBaseFilename=Mercurial-snapshot
17 OutputBaseFilename=Mercurial-snapshot
18 DefaultDirName={sd}\Mercurial
18 DefaultDirName={pf}\Mercurial
19 SourceDir=C:\hg\hg-release
19 SourceDir=C:\hg\hg-release
20 VersionInfoDescription=Mercurial distributed SCM
20 VersionInfoDescription=Mercurial distributed SCM
21 VersionInfoCopyright=Copyright 2005-2007 Matt Mackall and others
21 VersionInfoCopyright=Copyright 2005-2007 Matt Mackall and others
22 VersionInfoCompany=Matt Mackall and others
22 VersionInfoCompany=Matt Mackall and others
23 InternalCompressLevel=max
23 InternalCompressLevel=max
24 SolidCompression=true
24 SolidCompression=true
25 SetupIconFile=contrib\favicon.ico
25 SetupIconFile=contrib\favicon.ico
26 AllowNoIcons=true
26 AllowNoIcons=true
27 DefaultGroupName=Mercurial
27 DefaultGroupName=Mercurial
28 PrivilegesRequired=none
28 PrivilegesRequired=none
29
29
30 [Files]
30 [Files]
31 Source: contrib\mercurial.el; DestDir: {app}/Contrib
31 Source: contrib\mercurial.el; DestDir: {app}/Contrib
32 Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme
32 Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme
33 Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Flags: confirmoverwrite
33 Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Flags: confirmoverwrite
34 Source: contrib\win32\postinstall.txt; DestDir: {app}; DestName: ReleaseNotes.txt
34 Source: contrib\win32\postinstall.txt; DestDir: {app}; DestName: ReleaseNotes.txt
35 Source: dist\hg.exe; DestDir: {app}; AfterInstall: Touch('{app}\hg.exe.local')
35 Source: dist\hg.exe; DestDir: {app}; AfterInstall: Touch('{app}\hg.exe.local')
36 Source: dist\library.zip; DestDir: {app}
36 Source: dist\library.zip; DestDir: {app}
37 Source: dist\mfc71.dll; DestDir: {app}
37 Source: dist\mfc71.dll; DestDir: {app}
38 Source: dist\msvcr71.dll; DestDir: {app}
38 Source: dist\msvcr71.dll; DestDir: {app}
39 Source: dist\w9xpopen.exe; DestDir: {app}
39 Source: dist\w9xpopen.exe; DestDir: {app}
40 Source: dist\add_path.exe; DestDir: {app}
40 Source: dist\add_path.exe; DestDir: {app}
41 Source: doc\*.txt; DestDir: {app}\Docs
41 Source: doc\*.txt; DestDir: {app}\Docs
42 Source: doc\*.html; DestDir: {app}\Docs
42 Source: doc\*.html; DestDir: {app}\Docs
43 Source: templates\*.*; DestDir: {app}\Templates; Flags: recursesubdirs createallsubdirs
43 Source: templates\*.*; DestDir: {app}\Templates; Flags: recursesubdirs createallsubdirs
44 Source: CONTRIBUTORS; DestDir: {app}; DestName: Contributors.txt
44 Source: CONTRIBUTORS; DestDir: {app}; DestName: Contributors.txt
45 Source: COPYING; DestDir: {app}; DestName: Copying.txt
45 Source: COPYING; DestDir: {app}; DestName: Copying.txt
46
46
47 [INI]
47 [INI]
48 Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: http://www.selenic.com/mercurial/
48 Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: http://www.selenic.com/mercurial/
49
49
50 [UninstallDelete]
50 [UninstallDelete]
51 Type: files; Name: {app}\Mercurial.url
51 Type: files; Name: {app}\Mercurial.url
52
52
53 [Icons]
53 [Icons]
54 Name: {group}\Uninstall Mercurial; Filename: {uninstallexe}
54 Name: {group}\Uninstall Mercurial; Filename: {uninstallexe}
55 Name: {group}\Mercurial Command Reference; Filename: {app}\Docs\hg.1.html
55 Name: {group}\Mercurial Command Reference; Filename: {app}\Docs\hg.1.html
56 Name: {group}\Mercurial Web Site; Filename: {app}\Mercurial.url
56 Name: {group}\Mercurial Web Site; Filename: {app}\Mercurial.url
57
57
58 [Run]
58 [Run]
59 Filename: "{app}\add_path.exe"; Parameters: "{app}"; Flags: postinstall; Description: "Add the installation path to the search path"
59 Filename: "{app}\add_path.exe"; Parameters: "{app}"; Flags: postinstall; Description: "Add the installation path to the search path"
60
60
61 [UninstallRun]
61 [UninstallRun]
62 Filename: "{app}\add_path.exe"; Parameters: "/del {app}"
62 Filename: "{app}\add_path.exe"; Parameters: "/del {app}"
63
63
64 [UninstallDelete]
64 [UninstallDelete]
65 Type: files; Name: "{app}\hg.exe.local"
65 Type: files; Name: "{app}\hg.exe.local"
66
66
67 [Code]
67 [Code]
68 procedure Touch(fn: String);
68 procedure Touch(fn: String);
69 begin
69 begin
70 SaveStringToFile(ExpandConstant(fn), '', False);
70 SaveStringToFile(ExpandConstant(fn), '', False);
71 end;
71 end;
General Comments 0
You need to be logged in to leave comments. Login now