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