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