Show More
@@ -1,72 +1,73 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={pf}\Mercurial |
|
18 | DefaultDirName={pf}\Mercurial | |
19 | SourceDir=..\.. |
|
19 | SourceDir=..\.. | |
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\vim\*.*; DestDir: {app}/Contrib/Vim |
|
32 | Source: contrib\vim\*.*; DestDir: {app}/Contrib/Vim | |
|
33 | Source: contrib\zsh_completion; DestDir: {app}/Contrib | |||
33 | Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme |
|
34 | Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme | |
34 | Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Flags: confirmoverwrite |
|
35 | Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Flags: confirmoverwrite | |
35 | Source: contrib\win32\postinstall.txt; DestDir: {app}; DestName: ReleaseNotes.txt |
|
36 | Source: contrib\win32\postinstall.txt; DestDir: {app}; DestName: ReleaseNotes.txt | |
36 | Source: dist\hg.exe; DestDir: {app}; AfterInstall: Touch('{app}\hg.exe.local') |
|
37 | Source: dist\hg.exe; DestDir: {app}; AfterInstall: Touch('{app}\hg.exe.local') | |
37 | Source: dist\library.zip; DestDir: {app} |
|
38 | Source: dist\library.zip; DestDir: {app} | |
38 | Source: dist\mfc71.dll; DestDir: {app} |
|
39 | Source: dist\mfc71.dll; DestDir: {app} | |
39 | Source: dist\msvcr71.dll; DestDir: {app} |
|
40 | Source: dist\msvcr71.dll; DestDir: {app} | |
40 | Source: dist\w9xpopen.exe; DestDir: {app} |
|
41 | Source: dist\w9xpopen.exe; DestDir: {app} | |
41 | Source: dist\add_path.exe; DestDir: {app} |
|
42 | Source: dist\add_path.exe; DestDir: {app} | |
42 | Source: doc\*.txt; DestDir: {app}\Docs |
|
43 | Source: doc\*.txt; DestDir: {app}\Docs | |
43 | Source: doc\*.html; DestDir: {app}\Docs |
|
44 | Source: doc\*.html; DestDir: {app}\Docs | |
44 | Source: templates\*.*; DestDir: {app}\Templates; Flags: recursesubdirs createallsubdirs |
|
45 | Source: templates\*.*; DestDir: {app}\Templates; Flags: recursesubdirs createallsubdirs | |
45 | Source: CONTRIBUTORS; DestDir: {app}; DestName: Contributors.txt |
|
46 | Source: CONTRIBUTORS; DestDir: {app}; DestName: Contributors.txt | |
46 | Source: COPYING; DestDir: {app}; DestName: Copying.txt |
|
47 | Source: COPYING; DestDir: {app}; DestName: Copying.txt | |
47 |
|
48 | |||
48 | [INI] |
|
49 | [INI] | |
49 | Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: http://www.selenic.com/mercurial/ |
|
50 | Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: http://www.selenic.com/mercurial/ | |
50 |
|
51 | |||
51 | [UninstallDelete] |
|
52 | [UninstallDelete] | |
52 | Type: files; Name: {app}\Mercurial.url |
|
53 | Type: files; Name: {app}\Mercurial.url | |
53 |
|
54 | |||
54 | [Icons] |
|
55 | [Icons] | |
55 | Name: {group}\Uninstall Mercurial; Filename: {uninstallexe} |
|
56 | Name: {group}\Uninstall Mercurial; Filename: {uninstallexe} | |
56 | Name: {group}\Mercurial Command Reference; Filename: {app}\Docs\hg.1.html |
|
57 | Name: {group}\Mercurial Command Reference; Filename: {app}\Docs\hg.1.html | |
57 | Name: {group}\Mercurial Web Site; Filename: {app}\Mercurial.url |
|
58 | Name: {group}\Mercurial Web Site; Filename: {app}\Mercurial.url | |
58 |
|
59 | |||
59 | [Run] |
|
60 | [Run] | |
60 | Filename: "{app}\add_path.exe"; Parameters: "{app}"; Flags: postinstall; Description: "Add the installation path to the search path" |
|
61 | Filename: "{app}\add_path.exe"; Parameters: "{app}"; Flags: postinstall; Description: "Add the installation path to the search path" | |
61 |
|
62 | |||
62 | [UninstallRun] |
|
63 | [UninstallRun] | |
63 | Filename: "{app}\add_path.exe"; Parameters: "/del {app}" |
|
64 | Filename: "{app}\add_path.exe"; Parameters: "/del {app}" | |
64 |
|
65 | |||
65 | [UninstallDelete] |
|
66 | [UninstallDelete] | |
66 | Type: files; Name: "{app}\hg.exe.local" |
|
67 | Type: files; Name: "{app}\hg.exe.local" | |
67 |
|
68 | |||
68 | [Code] |
|
69 | [Code] | |
69 | procedure Touch(fn: String); |
|
70 | procedure Touch(fn: String); | |
70 | begin |
|
71 | begin | |
71 | SaveStringToFile(ExpandConstant(fn), '', False); |
|
72 | SaveStringToFile(ExpandConstant(fn), '', False); | |
72 | end; |
|
73 | end; |
General Comments 0
You need to be logged in to leave comments.
Login now