##// END OF EJS Templates
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer. Initial version from Shun-ichi GOTO in BTS 449 for private copies of DLLs. Additional changes to remove local DLL flag on uninstall and set privilege level.

File last commit:

r4629:a04b5f37 default
r4629:a04b5f37 default
Show More
mercurial.iss
71 lines | 2.6 KiB | text/plain | TextLexer
Bryan O'Sullivan
Add Windows installer file....
r1290 ; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
Lee Cantey
Update copyright year and change to range
r4385 AppCopyright=Copyright 2005-2007 Matt Mackall and others
Bryan O'Sullivan
Add Windows installer file....
r1290 AppName=Mercurial
Matt Mackall
Remove hard-coded version numbers and release notes from packaging
r3863 AppVerName=Mercurial snapshot
Bryan O'Sullivan
Add Windows installer file....
r1290 InfoAfterFile=contrib/win32/postinstall.txt
LicenseFile=COPYING
ShowLanguageDialog=yes
AppPublisher=Matt Mackall and others
AppPublisherURL=http://www.selenic.com/mercurial
AppSupportURL=http://www.selenic.com/mercurial
AppUpdatesURL=http://www.selenic.com/mercurial
AppID={{4B95A5F1-EF59-4B08-BED8-C891C46121B3}
AppContact=mercurial@selenic.com
Matt Mackall
Remove hard-coded version numbers and release notes from packaging
r3863 OutputBaseFilename=Mercurial-snapshot
Bryan O'Sullivan
Add Windows installer file....
r1290 DefaultDirName={sd}\Mercurial
SourceDir=C:\hg\hg-release
VersionInfoDescription=Mercurial distributed SCM
Lee Cantey
Update copyright year and change to range
r4385 VersionInfoCopyright=Copyright 2005-2007 Matt Mackall and others
Bryan O'Sullivan
Add Windows installer file....
r1290 VersionInfoCompany=Matt Mackall and others
InternalCompressLevel=max
SolidCompression=true
SetupIconFile=contrib\favicon.ico
AllowNoIcons=true
DefaultGroupName=Mercurial
Lee Cantey
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
r4629 PrivilegesRequired=none
Bryan O'Sullivan
Add Windows installer file....
r1290
[Files]
Source: contrib\mercurial.el; DestDir: {app}/Contrib
Lee Cantey
Remove patchbomb from list of contrib files to install since it's now an extension....
r1844 Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme
Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Flags: confirmoverwrite
Source: contrib\win32\postinstall.txt; DestDir: {app}; DestName: ReleaseNotes.txt
Lee Cantey
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
r4629 Source: dist\hg.exe; DestDir: {app}; AfterInstall: Touch('{app}\hg.exe.local')
Lee Cantey
Remove patchbomb from list of contrib files to install since it's now an extension....
r1844 Source: dist\library.zip; DestDir: {app}
Lee Cantey
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
r4629 Source: dist\patch.exe; DestDir: {app}
Source: dist\mfc71.dll; DestDir: {app}
Source: dist\msvcr71.dll; DestDir: {app}
Lee Cantey
Remove patchbomb from list of contrib files to install since it's now an extension....
r1844 Source: dist\w9xpopen.exe; DestDir: {app}
Marco Barisione
Automatically add the path of hg to %PATH% using add_path
r2384 Source: dist\add_path.exe; DestDir: {app}
Bryan O'Sullivan
Add Windows installer file....
r1290 Source: doc\*.txt; DestDir: {app}\Docs
Lee Cantey
Remove patchbomb from list of contrib files to install since it's now an extension....
r1844 Source: templates\*.*; DestDir: {app}\Templates; Flags: recursesubdirs createallsubdirs
Source: CONTRIBUTORS; DestDir: {app}; DestName: Contributors.txt
Bryan O'Sullivan
Add Windows installer file....
r1290 Source: COPYING; DestDir: {app}; DestName: Copying.txt
[INI]
Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: http://www.selenic.com/mercurial/
[UninstallDelete]
Type: files; Name: {app}\Mercurial.url
[Icons]
Name: {group}\Uninstall Mercurial; Filename: {uninstallexe}
Name: {group}\Mercurial Command Reference; Filename: {app}\Docs\hg.1.txt
Name: {group}\Mercurial Web Site; Filename: {app}\Mercurial.url
Marco Barisione
Automatically add the path of hg to %PATH% using add_path
r2384
[Run]
Filename: "{app}\add_path.exe"; Parameters: "{app}"; Flags: postinstall; Description: "Add the installation path to the search path"
[UninstallRun]
Filename: "{app}\add_path.exe"; Parameters: "/del {app}"
Lee Cantey
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
r4629
[UninstallDelete]
Type: files; Name: "{app}\hg.exe.local"
[Code]
procedure Touch(fn: String);
begin
SaveStringToFile(ExpandConstant(fn), '', False);
end;