##// END OF EJS Templates
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
Lee Cantey -
r4629:a04b5f37 default
parent child Browse files
Show More
@@ -1,61 +1,71 b''
1 1 ; Script generated by the Inno Setup Script Wizard.
2 2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3 3
4 4 [Setup]
5 5 AppCopyright=Copyright 2005-2007 Matt Mackall and others
6 6 AppName=Mercurial
7 7 AppVerName=Mercurial snapshot
8 8 InfoAfterFile=contrib/win32/postinstall.txt
9 9 LicenseFile=COPYING
10 10 ShowLanguageDialog=yes
11 11 AppPublisher=Matt Mackall and others
12 12 AppPublisherURL=http://www.selenic.com/mercurial
13 13 AppSupportURL=http://www.selenic.com/mercurial
14 14 AppUpdatesURL=http://www.selenic.com/mercurial
15 15 AppID={{4B95A5F1-EF59-4B08-BED8-C891C46121B3}
16 16 AppContact=mercurial@selenic.com
17 17 OutputBaseFilename=Mercurial-snapshot
18 18 DefaultDirName={sd}\Mercurial
19 19 SourceDir=C:\hg\hg-release
20 20 VersionInfoDescription=Mercurial distributed SCM
21 21 VersionInfoCopyright=Copyright 2005-2007 Matt Mackall and others
22 22 VersionInfoCompany=Matt Mackall and others
23 23 InternalCompressLevel=max
24 24 SolidCompression=true
25 25 SetupIconFile=contrib\favicon.ico
26 26 AllowNoIcons=true
27 27 DefaultGroupName=Mercurial
28 PrivilegesRequired=none
28 29
29 30 [Files]
30 Source: ..\..\msys\1.0\bin\patch.exe; DestDir: {app}
31 31 Source: contrib\mercurial.el; DestDir: {app}/Contrib
32 32 Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme
33 33 Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Flags: confirmoverwrite
34 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 36 Source: dist\library.zip; DestDir: {app}
37 Source: dist\mfc71.dll; DestDir: {sys}; Flags: sharedfile uninsnosharedfileprompt
38 Source: dist\msvcr71.dll; DestDir: {sys}; Flags: sharedfile uninsnosharedfileprompt
37 Source: dist\patch.exe; DestDir: {app}
38 Source: dist\mfc71.dll; DestDir: {app}
39 Source: dist\msvcr71.dll; DestDir: {app}
39 40 Source: dist\w9xpopen.exe; DestDir: {app}
40 41 Source: dist\add_path.exe; DestDir: {app}
41 42 Source: doc\*.txt; DestDir: {app}\Docs
42 43 Source: templates\*.*; DestDir: {app}\Templates; Flags: recursesubdirs createallsubdirs
43 44 Source: CONTRIBUTORS; DestDir: {app}; DestName: Contributors.txt
44 45 Source: COPYING; DestDir: {app}; DestName: Copying.txt
45 46
46 47 [INI]
47 48 Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: http://www.selenic.com/mercurial/
48 49
49 50 [UninstallDelete]
50 51 Type: files; Name: {app}\Mercurial.url
51 52
52 53 [Icons]
53 54 Name: {group}\Uninstall Mercurial; Filename: {uninstallexe}
54 55 Name: {group}\Mercurial Command Reference; Filename: {app}\Docs\hg.1.txt
55 56 Name: {group}\Mercurial Web Site; Filename: {app}\Mercurial.url
56 57
57 58 [Run]
58 59 Filename: "{app}\add_path.exe"; Parameters: "{app}"; Flags: postinstall; Description: "Add the installation path to the search path"
59 60
60 61 [UninstallRun]
61 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