##// END OF EJS Templates
include i18n files in the win32 installer...
include i18n files in the win32 installer The .mo files for translations should be included in the Windows installer.

File last commit:

r7809:dcdda2f5 default
r7809:dcdda2f5 default
Show More
mercurial.iss
98 lines | 3.5 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]
Pascal Quantin
Update mercurial.ini file packaged in win32 installer...
r7662 AppCopyright=Copyright 2005-2009 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
Steve Borho
win32: move default install path inside program files...
r5625 DefaultDirName={pf}\Mercurial
Steve Borho
win32: use relative path to install source...
r5626 SourceDir=..\..
Bryan O'Sullivan
Add Windows installer file....
r1290 VersionInfoDescription=Mercurial distributed SCM
Pascal Quantin
Update mercurial.ini file packaged in win32 installer...
r7662 VersionInfoCopyright=Copyright 2005-2009 Matt Mackall and others
Bryan O'Sullivan
Add Windows installer file....
r1290 VersionInfoCompany=Matt Mackall and others
InternalCompressLevel=max
SolidCompression=true
Pascal Quantin
Add Lee Cantey's installer icon to win32 installer...
r7659 SetupIconFile=contrib\win32\mercurial.ico
Bryan O'Sullivan
Add Windows installer file....
r1290 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
Steve Borho
win32: include contrib/vim in Windows package
r5627 Source: contrib\vim\*.*; DestDir: {app}/Contrib/Vim
Steve Borho
win32: include zsh_completion in Windows package
r5628 Source: contrib\zsh_completion; DestDir: {app}/Contrib
Pascal Quantin
Package hgk Tcl/Tk script in win32 installer...
r7663 Source: contrib\hgk; DestDir: {app}/Contrib; DestName: hgk.tcl
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
Pascal Quantin
Update mercurial.ini file packaged in win32 installer...
r7662 Source: contrib\mergetools.hgrc; DestDir: {tmp};
Source: contrib\win32\mercurial.ini; DestDir: {app}; DestName: Mercurial.ini; Check: CheckFile; AfterInstall: ConcatenateFiles;
Lee Cantey
Remove patchbomb from list of contrib files to install since it's now an extension....
r1844 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\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}
Lee Cantey
Add html docs and use for help shortcut
r4822 Source: doc\*.html; DestDir: {app}\Docs
Stefan Rusek
include i18n files in the win32 installer...
r7809 Source: locale\*.*; DestDir: {app}\locale; Flags: recursesubdirs createallsubdirs
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}
Lee Cantey
Add html docs and use for help shortcut
r4822 Name: {group}\Mercurial Command Reference; Filename: {app}\Docs\hg.1.html
Bryan O'Sullivan
Add Windows installer file....
r1290 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"
Pascal Quantin
Update mercurial.ini file packaged in win32 installer...
r7662 [Code]
var
WriteFile: Boolean;
CheckDone: Boolean;
Lee Cantey
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
r4629
Pascal Quantin
Update mercurial.ini file packaged in win32 installer...
r7662 function CheckFile(): Boolean;
begin
if not CheckDone then begin
WriteFile := True;
if FileExists(ExpandConstant(CurrentFileName)) then begin
WriteFile := MsgBox('' + ExpandConstant(CurrentFileName) + '' #13#13 'The file already exists.' #13#13 'Would you like Setup to overwrite it?', mbConfirmation, MB_YESNO) = idYes;
end;
CheckDone := True;
end;
Result := WriteFile;
end;
procedure ConcatenateFiles();
var
MergeConfigs: TArrayOfString;
begin
if LoadStringsFromFile(ExpandConstant('{tmp}\mergetools.hgrc'),MergeConfigs) then begin
SaveStringsToFile(ExpandConstant(CurrentFileName),MergeConfigs,True);
end;
end;
Lee Cantey
Fixes to not require administrator privleges and use private copies of DLLs when running the Windows installer....
r4629 procedure Touch(fn: String);
begin
SaveStringToFile(ExpandConstant(fn), '', False);
end;