Add Windows installer file.
authorBryan O'Sullivan <bos@serpentine.com>
Wed, 21 Sep 2005 00:47:40 -0700
changeset 1290 f310f034422f
parent 1289 8d24d85ff054
child 1291 a942bf419a64
Add Windows installer file. This uses Inno Setup. If you don't use ISTool to edit the file, you are either brave, nuts, or both.
contrib/win32/mercurial.iss
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/win32/mercurial.iss	Wed Sep 21 00:47:40 2005 -0700
@@ -0,0 +1,55 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+[Setup]
+AppCopyright=Copyright 2005 Matt Mackall and others
+AppName=Mercurial
+AppVerName=Mercurial version 0.7
+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
+OutputBaseFilename=Mercurial-0.7
+DefaultDirName={sd}\Mercurial
+SourceDir=C:\hg\hg-release
+VersionInfoVersion=0.7
+VersionInfoDescription=Mercurial distributed SCM
+VersionInfoCopyright=Copyright 2005 Matt Mackall and others
+VersionInfoCompany=Matt Mackall and others
+InternalCompressLevel=max
+SolidCompression=true
+SetupIconFile=contrib\favicon.ico
+AllowNoIcons=true
+DefaultGroupName=Mercurial
+
+[Files]
+Source: templates\*.*; DestDir: {app}\Templates; Flags: recursesubdirs createallsubdirs
+Source: contrib\mercurial.el; DestDir: {app}/Contrib
+Source: contrib\patchbomb; DestDir: {app}/Contrib
+Source: dist\w9xpopen.exe; DestDir: {app}
+Source: dist\hg.exe; DestDir: {app}
+Source: dist\msvcr71.dll; DestDir: {sys}; Flags: sharedfile uninsnosharedfileprompt
+Source: dist\library.zip; DestDir: {app}
+Source: doc\*.txt; DestDir: {app}\Docs
+Source: dist\mfc71.dll; DestDir: {sys}; Flags: sharedfile uninsnosharedfileprompt
+Source: COPYING; DestDir: {app}; DestName: Copying.txt
+Source: comparison.txt; DestDir: {app}\Docs; DestName: Comparison.txt
+Source: notes.txt; DestDir: {app}\Docs; DestName: DesignNotes.txt
+Source: CONTRIBUTORS; DestDir: {app}; DestName: Contributors.txt
+Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme
+
+[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