Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

setup: move Windows installer files from contrib/ to win32/

Changeset e6730838dfaf

Parent 5f2d91c4a9da

by Steve Borho

Changes to 50 files · Browse files at e6730838dfaf Showing diff from parent 5f2d91c4a9da Diff from another changeset...

Change 1 of 1 Show Entire File contrib/​win32/​config.py Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,35 +0,0 @@
-""" -config.py - Copyright (C) 2009 Steve Borho <steve@borho.org> - -This software may be used and distributed according to the terms -of the GNU General Public License, incorporated herein by reference. -""" - -# This version of config.py is used in the binary installer -# distributions of TortoiseHg on Windows. Since we no longer need to -# worry about Python shell extensions, we can use the path of the -# current executable to find our package data. - -import os -import sys -import win32api, win32process - -proc = win32api.GetCurrentProcess() -try: - # This will fail on windows < NT - procpath = win32process.GetModuleFileNameEx(proc, 0) -except: - procpath = win32api.GetModuleFileName(0) - -bin_path = os.path.dirname(procpath) -license_path = os.path.join(bin_path, 'COPYING.txt') -locale_path = os.path.join(bin_path, 'locale') -icon_path = os.path.join(bin_path, 'icons') - -enc = sys.getfilesystemencoding() -if enc: - bin_path = bin_path.encode(enc) - license_path = license_path.encode(enc) - locale_path = locale_path.encode(enc) - icon_path = icon_path.encode(enc)
Change 1 of 1 Show Entire File contrib/​win32/​localtags Stacked
 
1
 
 
@@ -1,1 +0,0 @@
-275690997c5f2ace0476775b3b59fe50b639d3de 0.9.2-1
Change 1 of 1 Show Entire File contrib/​win32/​mercurial.rc Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,120 +0,0 @@
-; System-wide Mercurial config file. -; -; See http://www.selenic.com/mercurial/hgrc.5.html or the file -; 'hgrc.5.html' in the 'docs' subdirectory for help about the syntax -; and semantics of mercurial.ini files. -; -; !!! Do Not Edit This File !!! -; -; This file will be replaced by the installer on every upgrade. -; Editing this file can cause strange side effects on Vista. -; -; http://bitbucket.org/tortoisehg/stable/issue/135 -; -; To change settings you see in this file, override (or enable) them in -; your user Mercurial.ini file, where USERNAME is your Windows user name: -; -; XP or older - C:\Documents and Settings\USERNAME\Mercurial.ini -; Vista or later - C:\Users\USERNAME\Mercurial.ini - -[ui] -; editor used to enter commit logs, etc. Most any text editor -; will suffice. -editor = notepad - -; In order to push/pull over ssh you must specify a ssh tool -ssh = "TortoisePlink.exe" -ssh -2 -;ssh = C:\cygwin\bin\ssh - -; -; For more information about mercurial extensions, start here -; http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions -; - -[extensions] -; extensions shipped with Mercurial by default -; -;acl = -;bookmarks = -;bugzilla = -;children = -;churn = -; Warning: the color extension is not recommended for Windows -;color = -;convert = -;extdiff = -;fetch = -;gpg = -;graphlog = -;hgcia = -;hgk = -;highlight = -;interhg = -;keyword = -;mq = -;notify = -;pager = -;parentrevspec = -;patchbomb = -;progress = -;purge = -;rebase = -;record = -;schemes = -;transplant = -;win32mbcs = -;win32text = -;zeroconf = -; Extra extensions bundled with TortoiseHg -;fold = -;hgcr-gui = -;perfarce = -;hgeol = -;mercurial_keyring = - -; fixfrozenexts is enabled by default. It allows extension help -; to work "out of the box" from binary installers. -fixfrozenexts = - -; -; Define external diff commands, for hg command line use only -; -[extdiff] -;kdiff3 = - -; The git extended diff format will properly store binary files, -; file permission changes, and rename information that the normal -; patch format cannot cover. However it is also not 100% compatible -; with tools which expect normal patches. so enable these at your -; own risk. -; -[diff] -;git = false -;nodates = false - -; -; Keyword extension example configuration. To use, one must -; enable the keyword extension, then uncomment and modify these -; two sections. Before using the keyword extension, be sure to -; thoroughly read it's documentation and understand how it works, -; and why it is not a core feature of Mercurial. -; -; http://www.selenic.com/mercurial/wiki/index.cgi/KeywordExtension -; http://www.selenic.com/mercurial/wiki/index.cgi/KeywordPlan -; -; If you encounter strange problems using Mercurial, a good first -; debugging step would be to disable this extension. -; -[keyword] -; expand keywords in all python files in working dir -;**.py = - -[keywordmaps] -; See documentation for examples - -; The schemes extension must be enabled to use one of these shortcuts. -; See http://mercurial.selenic.com/wiki/SchemesExtension -[schemes] -;bb = http://bitbucket.org/ -;bb+ssh = ssh://hg@bitbucket.org/ -;py = http://code.python.org/hg/
Change 1 of 1 Show Entire File contrib/​win32/​mergepatterns.rc Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,24 +0,0 @@
-[merge-patterns] -**.doc = docdiff -**.docx = docdiff -**.docm = docdiff -**.ods = docdiff -**.odt = docdiff -**.sxw = docdiff - -[diff-patterns] -**.doc = docdiff -**.docx = docdiff -**.docm = docdiff -**.ppt = docdiff -**.pptx = docdiff -**.pptm = docdiff -**.xls = docdiff -**.xlsx = docdiff -**.xlsm = docdiff -**.xlsb = docdiff -**.xlam = docdiff -**.ods = docdiff -**.odt = docdiff -**.sxw = docdiff -**.nb = docdiff
Change 1 of 1 Show Entire File contrib/​win32/​setup.cfg Stacked
 
1
2
3
4
5
 
 
 
 
 
 
@@ -1,5 +0,0 @@
-[py2exe] -excludes=pywin, pywin.dialogs, pywin.dialogs.list, PyQt4.uic.port_v3, tcl, tk, distutils, py2exe -includes=sip -packages=ctypes, email, hgext, hgext.convert, encodings, tortoisehg.util, tortoisehg.hgqt, iniparse, pygments, nntplib -dll_excludes=mswsock.dll, powrprof.dll, shfolder.dll, credui.dll, msvcp60.dll, secur32.dll, tk85.dll, tcl85.dll
 
 
Change 1 of 1 Show Entire File contrib/​wix/​TortoiseOverlaysDefines.wxi Stacked
 
1
2
3
4
5
6
7
8
 
 
 
 
 
 
 
 
 
@@ -1,8 +0,0 @@
-<Include> - <?define TOverlaysVersion = 1.1.2.19334 ?> - <?define TOverlaysSrcDir = ..\contrib\TortoiseOverlays ?> - <?define TOverlaysSrcFilenameX86 = TortoiseOverlays-$(var.TOverlaysVersion)-win32.msm ?> - <?define TOverlaysSrcFilenameX64 = TortoiseOverlays-$(var.TOverlaysVersion)-x64.msm ?> - - <?define TOverlaysRegistryKey = Software\TortoiseOverlays ?> -</Include>
Removed image
Removed image
Change 1 of 1 Show Entire File contrib/​wix/​cmenu-i18n.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <?define thgcmenulangs = - cs;da;de;en_GB;en_US;es;fa;fr;he;hr;it;ja;ko;nl;nn;pl;pt;pt_BR;ru;tr;uk;zh_CN;zh_TW - ?> - <!-- lang 'ca' is used for key path --> - - <Fragment> - <DirectoryRef Id="i18ndir"> - <Directory Id="cmenuI18n" Name="cmenu" FileSource="$(var.SourceDir)"> - <Component Id="cmenuI18n" Guid="$(var.cmenuI18n.guid)"> - <File Name="thg-cmenu-ca.reg" KeyPath="yes"/> - <?foreach LANG in $(var.thgcmenulangs) ?> - <File Name="thg-cmenu-$(var.LANG).reg" /> - <?endforeach?> - </Component> - </Directory> - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​contrib.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <Fragment> - <ComponentGroup Id="contribFolder"> - <ComponentRef Id="contrib" /> - <ComponentRef Id="contrib.vim" /> - </ComponentGroup> - </Fragment> - - <Fragment> - <DirectoryRef Id="INSTALLDIR"> - <Directory Id="contribdir" Name="contrib" FileSource="$(var.SourceDir)"> - <Component Id="contrib" Guid="$(var.contrib.guid)"> - <File Name="bash_completion" KeyPath="yes" /> - <File Name="hgk" /> - <File Name="hgweb.fcgi" /> - <File Name="hgweb.wsgi" /> - <File Name="logo-droplets.svg" /> - <File Name="mercurial.el" /> - <File Name="sample.hgrc" /> - <File Name="tcsh_completion" /> - <File Name="tcsh_completion_build.sh" /> - <File Name="xml.rnc" /> - <File Name="zsh_completion" /> - </Component> - <Directory Id="vimdir" Name="vim"> - <Component Id="contrib.vim" Guid="$(var.contrib.vim.guid)"> - <File Name="hg-menu.vim" KeyPath="yes" /> - <File Name="HGAnnotate.vim" /> - <File Name="hgcommand.vim" /> - <File Name="patchreview.txt" /> - <File Name="patchreview.vim" /> - </Component> - </Directory> - </Directory> - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​doc.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <Fragment> - <ComponentGroup Id="docFolder"> - <ComponentRef Id="doc.hg.1.html" /> - <ComponentRef Id="doc.hgignore.5.html" /> - <ComponentRef Id="doc.hgrc.5.html" /> - <ComponentRef Id="doc.style.css" /> - </ComponentGroup> - </Fragment> - - <Fragment> - <DirectoryRef Id="INSTALLDIR"> - <Directory Id="docdir" Name="doc" FileSource="$(var.SourceDir)"> - <Component Id="doc.hg.1.html" Guid="$(var.doc.hg.1.html.guid)"> - <File Name="hg.1.html" KeyPath="yes"> - <Shortcut Id="hg1StartMenu" Directory="ProgramMenuDir" - Name="Mercurial Command Reference" - Icon="hgIcon.ico" IconIndex="0" Advertise="yes" - /> - </File> - </Component> - <Component Id="doc.hgignore.5.html" Guid="$(var.doc.hgignore.5.html.guid)"> - <File Name="hgignore.5.html" KeyPath="yes"> - <Shortcut Id="hgignore5StartMenu" Directory="ProgramMenuDir" - Name="Mercurial Ignore Files" - Icon="hgIcon.ico" IconIndex="0" Advertise="yes" - /> - </File> - </Component> - <Component Id="doc.hgrc.5.html" Guid="$(var.doc.hgrc.5.html)"> - <File Name="hgrc.5.html" KeyPath="yes"> - <Shortcut Id="hgrc5StartMenu" Directory="ProgramMenuDir" - Name="Mercurial Configuration Files" - Icon="hgIcon.ico" IconIndex="0" Advertise="yes" - /> - </File> - </Component> - <Component Id="doc.style.css" Guid="$(var.doc.style.css)"> - <File Name="style.css" KeyPath="yes" /> - </Component> - </Directory> - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​guids.wxi Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,79 +0,0 @@
-<Include> - <!-- These are component GUIDs used for TortoiseHg installers. - YOU MUST CHANGE ALL GUIDs below when copying this file - and replace 'TortoiseHg' in this notice with the name of - your project. Component GUIDs have global namespace! --> - - <!-- contrib.wxs --> - <?define contrib.guid = {D3BC122A-163C-4ef9-91C2-62E04B128A16} ?> - <?define contrib.vim.guid = {BEA4DF96-9CEF-4273-B637-8DE7B10A6FAE} ?> - - <!-- doc.wxs --> - <?define doc.hg.1.html.guid = {6289D803-14D9-4AF8-AE67-4DB12D1EA5A6} ?> - <?define doc.hgignore.5.html.guid = {4E80FFF0-C28A-460F-ABC4-85BC25422B80} ?> - <?define doc.hgrc.5.html = {F392839B-CEB6-462E-8F23-A85D48F99BD3} ?> - <?define doc.style.css = {5C276050-DDDD-49FB-86ED-C636FD629242} ?> - - <!-- help.wxs --> - <?define helpFolder.guid = {D056C216-291F-4304-B791-BD5C5807DD87} ?> - - <!-- i18n.wxs --> - <?define i18nFolder.guid = {3115A038-CA56-4413-97C1-6F0070D6034C} ?> - - <!-- templates.wxs --> - <?define templates.root.guid = {C609F85B-91CD-463f-8C07-57931D53B99F} ?> - <?define templates.atom.guid = {0155E267-F0D5-4115-A7D4-F217599B06C7} ?> - <?define templates.coal.guid = {310F768C-0817-4a07-907C-89AB8FDAE9DE} ?> - <?define templates.gitweb.guid = {6A6B3DFF-EC52-479a-842C-A650FCF2D39C} ?> - <?define templates.monoblue.guid = {3AA37057-AFB1-4150-8062-2372257A91D2} ?> - <?define templates.paper.guid = {071CFCD8-2F96-4df8-8539-EF3D8176A0FB} ?> - <?define templates.raw.guid = {F71E0FEB-32F9-4b18-91A5-A59722C682DC} ?> - <?define templates.rss.guid = {23DA0B15-6463-400b-95E0-CD5FAD6B75B5} ?> - <?define templates.spartan.guid = {0686468F-D950-422f-A904-1B09FFD3C852} ?> - <?define templates.static.guid = {9AC0E261-7563-4147-9974-12022C1CBD4E} ?> - - <!-- cmenu-i18n.wxs --> - <?define cmenuI18n.guid = {B0AB4947-248C-4c6b-841C-49284EF99022} ?> - - <!-- icons.wxs --> - <?define Icons.guid = {30E997E7-FB02-4d34-AF61-A6FD6C93E268} ?> - <?define SvgIcons.guid = {7C87CCC7-8377-49c8-ACFD-1F246ED14747} ?> - - <!-- thg-i18n.wxs --> - <?define thgI18nFolder.guid = {69E6E182-BCD2-4b03-A941-7B9A054DF7AF} ?> - - <!-- tortoisehg.wxs --> - <?define ProductUpgradeCode = {838657CF-C9EC-452D-800D-0E70FC021D0A} ?> - - <?define ComponentMainExecutableGUID = {CD691D8E-79AD-4e22-9234-89C62B5C2243} ?> - - <?define thgshellx86dll.guid = {1126CF42-3994-428B-A746-464E1BC680F3} ?> - <?define thgshellx64dll.guid = {59FD2A49-BA62-40CC-B155-D11DB11EE611} ?> - - <?define CmenuShellRegistrationX86.guid = {287A355F-3DF6-4f55-9DD5-FABD09498B0C} ?> - <?define CmenuShellRegistrationX64.guid = {46DF4532-7BFF-427a-BC59-F3B4D1022F56} ?> - - <?define OverlaysShellRegistrationX86.guid = {5592F837-8C78-43f0-AD8D-2E2EA4B17E45} ?> - <?define OverlaysShellRegistrationX64.guid = {9B1300FC-3D05-4c82-991D-96277404C4BA} ?> - <?define OverlayServerEXE.guid = {DC5D9CC4-8330-4146-99EC-30D3AA255DD4} ?> - - <?define ExtensionVersions.guid = {1996AB0D-634D-4DC8-9581-326151F38B11} ?> - <?define COPYING.guid = {382A8405-CB7B-42E8-8B9D-88B5C5283E73} ?> - - <?define docdiffEXE.guid = {4BA6389A-6A0B-483B-A3FE-86EE436FDD31} ?> - <?define KDiff3EXE.guid = {B2A5EFD4-A385-45E0-8467-46B955979672} ?> - <?define TortoisePlinkEXE.guid = {A18BFE4D-BED0-4EF9-97CC-5B4326E3CD2F} ?> - <?define PageantEXE.guid = {EA7EF381-076C-47CE-8F51-355DB7F86D1A} ?> - - <?define chmFile.guid = {A26038DC-C686-4296-9335-FA4B9ABC769C} ?> - <?define pdfFile.guid = {1C5792DA-C48F-4F7F-9CD8-FC467995B8E4} ?> - <?define hgbook.guid = {A5F6D094-BCFD-4AC0-8675-7DF8CC94FEE5} ?> - - <?define mercurial.rc.guid = {28ACE5D7-FFCE-488E-A94A-8F13A21DD25D} ?> - <?define mergetools.rc.guid = {30CC047C-48B4-4D91-B8EC-79975327A9C7} ?> - <?define mergepatterns.rc.guid = {05860DA7-8391-43A4-A4E7-6E9E084D11C6} ?> - - <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> - <?define ThgAppData.guid = {94B8FBB5-4AE3-4960-B3D8-94BEFC6366E9} ?> - -</Include>
Change 1 of 1 Show Entire File contrib/​wix/​help.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <Fragment> - <DirectoryRef Id="INSTALLDIR"> - <Directory Id="helpdir" Name="help" FileSource="$(var.SourceDir)"> - <Component Id="helpFolder" Guid="$(var.helpFolder.guid)"> - <File Name="config.txt" KeyPath="yes" /> - <File Name="dates.txt" /> - <File Name="diffs.txt" /> - <File Name="environment.txt" /> - <File Name="extensions.txt" /> - <File Name="glossary.txt" /> - <File Name="hgweb.txt" /> - <File Name="multirevs.txt" /> - <File Name="patterns.txt" /> - <File Name="revisions.txt" /> - <File Name="revsets.txt" /> - <File Name="templates.txt" /> - <File Name="urls.txt" /> - </Component> - </Directory> - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​i18n.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <?define hg_po_langs = - da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW - ?> - - <Fragment> - <DirectoryRef Id="INSTALLDIR"> - <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)"> - <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)"> - <File Name="hggettext" KeyPath="yes" /> - <?foreach LANG in $(var.hg_po_langs) ?> - <File Id="hg.$(var.LANG).po" - Name="$(var.LANG).po" - /> - <?endforeach?> - </Component> - </Directory> - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​icons.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <Fragment> - <DirectoryRef Id="INSTALLDIR"> - - <Directory Id="IconsDirectory" Name="icons" FileSource="$(var.SourceDir)"> - - <Component Id='Icons' Guid='$(var.Icons.guid)'> - <File Name="branch.ico" KeyPath="yes" /> - <File Name="detect_rename.ico" /> - <File Name="fileadd.ico" /> - <File Name="filedelete.ico" /> - <File Name="filemodify.ico" /> - <File Name="general.ico" /> - <File Name="hg.ico" /> - <File Name="hg_60.ico" /> - <File Name="hgB.ico" /> - <File Name="ignore.ico" /> - <File Name="menuabout.ico" /> - <File Name="menuadd.ico" /> - <File Name="menublame.ico" /> - <File Name="menucheckout.ico" /> - <File Name="menuclone.ico" /> - <File Name="menucommit.ico" /> - <File Name="menucreaterepos.ico" /> - <File Name="menudelete.ico" /> - <File Name="menudiff.ico" /> - <File Name="menuhelp.ico" /> - <File Name="menuimport.ico" /> - <File Name="menulog.ico" /> - <File Name="menumerge.ico" /> - <File Name="menupatch.ico" /> - <File Name="menurelocate.ico" /> - <File Name="menurepobrowse.ico" /> - <File Name="menurevert.ico" /> - <File Name="menurevisiongraph.ico" /> - <File Name="menusettings.ico" /> - <File Name="menushowchanged.ico" /> - <File Name="menusynch.ico" /> - <File Name="menuunmerge.ico" /> - <File Name="proxy.ico" /> - <File Name="python.ico" /> - <File Name="README.txt" /> - <File Name="refresh_overlays.ico" /> - <File Name="settings_repo.ico" /> - <File Name="settings_user.ico" /> - <File Name="shelve.ico" /> - <File Name="thg_logo.ico" /> - <File Name="thg_logo_92x50.png" /> - <File Name="TortoiseMerge.ico" /> - </Component> - - <Directory Id="SvgDirectory" Name="svg"> - <Component Id='SvgIcons' Guid='$(var.SvgIcons.guid)'> - <File Name="add.svg" KeyPath="yes" /> - <File Name="checkout.svg" /> - <File Name="clone.svg" /> - <File Name="commit.svg" /> - <File Name="detect_rename.svg" /> - <File Name="ignore.svg" /> - <File Name="init.svg" /> - <File Name="log.svg" /> - <File Name="merge.svg" /> - <File Name="proxy.svg" /> - <File Name="recovery.svg" /> - <File Name="refresh_overlays.svg" /> - <File Name="remove.svg" /> - <File Name="repobrowse.svg" /> - <File Name="revert.svg" /> - <File Name="shelve.svg" /> - <File Name="status.svg" /> - <File Name="sync.svg" /> - <File Name="thg_logo.svg" /> - </Component> - - </Directory> - - </Directory> - - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​locale.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?define hglocales = - da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW - ?> - - <Fragment> - <ComponentGroup Id="localeFolder"> - <?foreach LOC in $(var.hglocales) ?> - <ComponentRef Id="hg.locale.$(var.LOC)"/> - <?endforeach?> - </ComponentGroup> - </Fragment> - - <Fragment> - <DirectoryRef Id="INSTALLDIR"> - <Directory Id="localedir" Name="locale" FileSource="$(var.SourceDir)"> - <?foreach LOC in $(var.hglocales) ?> - <Directory Id="hg.locale.$(var.LOC)" Name="$(var.LOC)"> - <Directory Id="hg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> - <Component Id="hg.locale.$(var.LOC)" Guid="*"> - <File Id="hg.mo.$(var.LOC)" Name="hg.mo" KeyPath="yes" /> - </Component> - </Directory> - </Directory> - <?endforeach?> - </Directory> - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​sdk_build_extensions.cmd Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,26 +0,0 @@
-:: %1 - TortoiseHg Version first level -:: %2 - second level -:: %3 - third level -:: %4 - platform (x86 or x64) -:: %5 - msi product id (GUID) - -set _SDKBIN_=%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin -if exist "%_SDKBIN_%" goto :ok -set _SDKBIN_=%ProgramW6432%\Microsoft SDKs\Windows\v7.0\Bin -if exist "%_SDKBIN_%" goto :ok -echo Microsoft Windows SDK 7 SP1 not installed -pause -exit 1 -:ok - -cd win32\shellext - -call "%_SDKBIN_%\SetEnv.cmd" /xp /%4 /release -set DEBUG=1 -set THG_PLATFORM=%4 -set THG_EXTRA_CPPFLAGS=/DTHG_PRODUCT_ID=%5 -set THG_EXTRA_RCFLAGS=/dTHG_VERSION_FIRST=%1 /dTHG_VERSION_SECOND=%2 /dTHG_VERSION_THIRD=%3 /dTHG_PRODUCT_ID="%5" -nmake /f Makefile.nmake clean -nmake /f Makefile.nmake -move ThgShell%4.dll .. -move terminate-%4.exe ..
Change 1 of 1 Show Entire File contrib/​wix/​shell-register-cmenu.wxi Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,52 +0,0 @@
-<Include> - <!-- cmenu COM component --> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID_TortoiseHgCmenu)' - Type='string' Value='TortoiseHg' - /> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID_TortoiseHgCmenu)\InProcServer32' - Type='string' Name='ThreadingModel' Value='Apartment' - /> - - <!-- cmenu registration --> - <RegistryValue - Root='HKCR' Key='Directory\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - <RegistryValue - Root='HKCR' Key='Directory\Background\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - <RegistryValue - Root='HKCR' Key='Drive\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - <RegistryValue - Root='HKCR' Key='Folder\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - <RegistryValue - Root='HKCR' Key='InternetShortcut\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - <RegistryValue - Root='HKCR' Key='LibraryLocation\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - <RegistryValue - Root='HKCR' Key='LibraryFolder\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - <RegistryValue - Root='HKCR' Key='*\shellex\ContextMenuHandlers\TortoiseHgCMenu' - Type='string' Value='$(var.CLSID_TortoiseHgCmenu)' - /> - - <!-- Mark all as approved --> - <RegistryValue - Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved' - Type='string' Name='$(var.CLSID_TortoiseHgCmenu)' Value='TortoiseHg' - /> - -</Include>
Change 1 of 1 Show Entire File contrib/​wix/​shell-register-overlays.wxi Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,40 +0,0 @@
-<Include> - <!-- overlay components --> - <?foreach CLSID in $(var.OverlayCLSIDList) ?> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID)' - Type='string' Value='TortoiseHg' - /> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID)\InProcServer32' - Type='string' Name='ThreadingModel' Value='Apartment' - /> - <?endforeach?> - - <!-- register overlay components with TortoiseOverlays --> - <RegistryValue - Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Normal' - Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgNormal)' - /> - <RegistryValue - Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Added' - Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgAdded)' - /> - <RegistryValue - Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Modified' - Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgModified)' - /> - <RegistryValue - Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Unversioned' - Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgUnversioned)' - /> - - <!-- Mark all as approved --> - <?foreach CLSID in $(var.OverlayCLSIDList) ?> - <RegistryValue - Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved' - Type='string' Name='$(var.CLSID)' Value='TortoiseHg' - /> - <?endforeach?> - -</Include>
Change 1 of 1 Show Entire File contrib/​wix/​templates.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,206 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <Fragment> - <ComponentGroup Id="templatesFolder"> - - <ComponentRef Id="templates.root" /> - - <ComponentRef Id="templates.atom" /> - <ComponentRef Id="templates.coal" /> - <ComponentRef Id="templates.gitweb" /> - <ComponentRef Id="templates.monoblue" /> - <ComponentRef Id="templates.paper" /> - <ComponentRef Id="templates.raw" /> - <ComponentRef Id="templates.rss" /> - <ComponentRef Id="templates.spartan" /> - <ComponentRef Id="templates.static" /> - - </ComponentGroup> - </Fragment> - - <Fragment> - <DirectoryRef Id="INSTALLDIR"> - - <Directory Id="templatesdir" Name="templates" FileSource="$(var.SourceDir)"> - - <Component Id="templates.root" Guid="$(var.templates.root.guid)"> - <File Name="map-cmdline.changelog" KeyPath="yes" /> - <File Name="map-cmdline.compact" /> - <File Name="map-cmdline.default" /> - <File Name="map-cmdline.xml" /> - <File Name="template-vars.txt" /> - </Component> - - <Directory Id="templates.atomdir" Name="atom"> - <Component Id="templates.atom" Guid="$(var.templates.atom.guid)"> - <File Id="atom.changelog.tmpl" Name="changelog.tmpl" KeyPath="yes" /> - <File Id="atom.changelogentry.tmpl" Name="changelogentry.tmpl" /> - <File Id="atom.error.tmpl" Name="error.tmpl" /> - <File Id="atom.filelog.tmpl" Name="filelog.tmpl" /> - <File Id="atom.header.tmpl" Name="header.tmpl" /> - <File Id="atom.map" Name="map" /> - <File Id="atom.tagentry.tmpl" Name="tagentry.tmpl" /> - <File Id="atom.tags.tmpl" Name="tags.tmpl" /> - </Component> - </Directory> - - <Directory Id="templates.coaldir" Name="coal"> - <Component Id="templates.coal" Guid="$(var.templates.coal.guid)"> - <File Id="coal.header.tmpl" Name="header.tmpl" KeyPath="yes" /> - <File Id="coal.map" Name="map" /> - </Component> - </Directory> - - <Directory Id="templates.gitwebdir" Name="gitweb"> - <Component Id="templates.gitweb" Guid="$(var.templates.gitweb.guid)"> - <File Id="gitweb.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> - <File Id="gitweb.changelog.tmpl" Name="changelog.tmpl" /> - <File Id="gitweb.changelogentry.tmpl" Name="changelogentry.tmpl" /> - <File Id="gitweb.changeset.tmpl" Name="changeset.tmpl" /> - <File Id="gitweb.error.tmpl" Name="error.tmpl" /> - <File Id="gitweb.fileannotate.tmpl" Name="fileannotate.tmpl" /> - <File Id="gitweb.filediff.tmpl" Name="filediff.tmpl" /> - <File Id="gitweb.filelog.tmpl" Name="filelog.tmpl" /> - <File Id="gitweb.filerevision.tmpl" Name="filerevision.tmpl" /> - <File Id="gitweb.footer.tmpl" Name="footer.tmpl" /> - <File Id="gitweb.graph.tmpl" Name="graph.tmpl" /> - <File Id="gitweb.header.tmpl" Name="header.tmpl" /> - <File Id="gitweb.index.tmpl" Name="index.tmpl" /> - <File Id="gitweb.manifest.tmpl" Name="manifest.tmpl" /> - <File Id="gitweb.map" Name="map" /> - <File Id="gitweb.notfound.tmpl" Name="notfound.tmpl" /> - <File Id="gitweb.search.tmpl" Name="search.tmpl" /> - <File Id="gitweb.shortlog.tmpl" Name="shortlog.tmpl" /> - <File Id="gitweb.summary.tmpl" Name="summary.tmpl" /> - <File Id="gitweb.tags.tmpl" Name="tags.tmpl" /> - </Component> - </Directory> - - <Directory Id="templates.monobluedir" Name="monoblue"> - <Component Id="templates.monoblue" Guid="$(var.templates.monoblue.guid)"> - <File Id="monoblue.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> - <File Id="monoblue.changelog.tmpl" Name="changelog.tmpl" /> - <File Id="monoblue.changelogentry.tmpl" Name="changelogentry.tmpl" /> - <File Id="monoblue.changeset.tmpl" Name="changeset.tmpl" /> - <File Id="monoblue.error.tmpl" Name="error.tmpl" /> - <File Id="monoblue.fileannotate.tmpl" Name="fileannotate.tmpl" /> - <File Id="monoblue.filediff.tmpl" Name="filediff.tmpl" /> - <File Id="monoblue.filelog.tmpl" Name="filelog.tmpl" /> - <File Id="monoblue.filerevision.tmpl" Name="filerevision.tmpl" /> - <File Id="monoblue.footer.tmpl" Name="footer.tmpl" /> - <File Id="monoblue.graph.tmpl" Name="graph.tmpl" /> - <File Id="monoblue.header.tmpl" Name="header.tmpl" /> - <File Id="monoblue.index.tmpl" Name="index.tmpl" /> - <File Id="monoblue.manifest.tmpl" Name="manifest.tmpl" /> - <File Id="monoblue.map" Name="map" /> - <File Id="monoblue.notfound.tmpl" Name="notfound.tmpl" /> - <File Id="monoblue.search.tmpl" Name="search.tmpl" /> - <File Id="monoblue.shortlog.tmpl" Name="shortlog.tmpl" /> - <File Id="monoblue.summary.tmpl" Name="summary.tmpl" /> - <File Id="monoblue.tags.tmpl" Name="tags.tmpl" /> - </Component> - </Directory> - - <Directory Id="templates.paperdir" Name="paper"> - <Component Id="templates.paper" Guid="$(var.templates.paper.guid)"> - <File Id="paper.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> - <File Id="paper.changeset.tmpl" Name="changeset.tmpl" /> - <File Id="paper.error.tmpl" Name="error.tmpl" /> - <File Id="paper.fileannotate.tmpl" Name="fileannotate.tmpl" /> - <File Id="paper.filediff.tmpl" Name="filediff.tmpl" /> - <File Id="paper.filelog.tmpl" Name="filelog.tmpl" /> - <File Id="paper.filelogentry.tmpl" Name="filelogentry.tmpl" /> - <File Id="paper.filerevision.tmpl" Name="filerevision.tmpl" /> - <File Id="paper.footer.tmpl" Name="footer.tmpl" /> - <File Id="paper.graph.tmpl" Name="graph.tmpl" /> - <File Id="paper.header.tmpl" Name="header.tmpl" /> - <File Id="paper.index.tmpl" Name="index.tmpl" /> - <File Id="paper.manifest.tmpl" Name="manifest.tmpl" /> - <File Id="paper.map" Name="map" /> - <File Id="paper.notfound.tmpl" Name="notfound.tmpl" /> - <File Id="paper.search.tmpl" Name="search.tmpl" /> - <File Id="paper.shortlog.tmpl" Name="shortlog.tmpl" /> - <File Id="paper.shortlogentry.tmpl" Name="shortlogentry.tmpl" /> - <File Id="paper.tags.tmpl" Name="tags.tmpl" /> - </Component> - </Directory> - - <Directory Id="templates.rawdir" Name="raw"> - <Component Id="templates.raw" Guid="$(var.templates.raw.guid)"> - <File Id="raw.changeset.tmpl" Name="changeset.tmpl" KeyPath="yes" /> - <File Id="raw.error.tmpl" Name="error.tmpl" /> - <File Id="raw.fileannotate.tmpl" Name="fileannotate.tmpl" /> - <File Id="raw.filediff.tmpl" Name="filediff.tmpl" /> - <File Id="raw.index.tmpl" Name="index.tmpl" /> - <File Id="raw.manifest.tmpl" Name="manifest.tmpl" /> - <File Id="raw.map" Name="map" /> - <File Id="raw.notfound.tmpl" Name="notfound.tmpl" /> - </Component> - </Directory> - - <Directory Id="templates.rssdir" Name="rss"> - <Component Id="templates.rss" Guid="$(var.templates.rss.guid)"> - <File Id="rss.changelog.tmpl" Name="changelog.tmpl" KeyPath="yes" /> - <File Id="rss.changelogentry.tmpl" Name="changelogentry.tmpl" /> - <File Id="rss.error.tmpl" Name="error.tmpl" /> - <File Id="rss.filelog.tmpl" Name="filelog.tmpl" /> - <File Id="rss.filelogentry.tmpl" Name="filelogentry.tmpl" /> - <File Id="rss.header.tmpl" Name="header.tmpl" /> - <File Id="rss.map" Name="map" /> - <File Id="rss.tagentry.tmpl" Name="tagentry.tmpl" /> - <File Id="rss.tags.tmpl" Name="tags.tmpl" /> - </Component> - </Directory> - - <Directory Id="templates.spartandir" Name="spartan"> - <Component Id="templates.spartan" Guid="$(var.templates.spartan.guid)"> - <File Id="spartan.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> - <File Id="spartan.changelog.tmpl" Name="changelog.tmpl" /> - <File Id="spartan.changelogentry.tmpl" Name="changelogentry.tmpl" /> - <File Id="spartan.changeset.tmpl" Name="changeset.tmpl" /> - <File Id="spartan.error.tmpl" Name="error.tmpl" /> - <File Id="spartan.fileannotate.tmpl" Name="fileannotate.tmpl" /> - <File Id="spartan.filediff.tmpl" Name="filediff.tmpl" /> - <File Id="spartan.filelog.tmpl" Name="filelog.tmpl" /> - <File Id="spartan.filelogentry.tmpl" Name="filelogentry.tmpl" /> - <File Id="spartan.filerevision.tmpl" Name="filerevision.tmpl" /> - <File Id="spartan.footer.tmpl" Name="footer.tmpl" /> - <File Id="spartan.graph.tmpl" Name="graph.tmpl" /> - <File Id="spartan.header.tmpl" Name="header.tmpl" /> - <File Id="spartan.index.tmpl" Name="index.tmpl" /> - <File Id="spartan.manifest.tmpl" Name="manifest.tmpl" /> - <File Id="spartan.map" Name="map" /> - <File Id="spartan.notfound.tmpl" Name="notfound.tmpl" /> - <File Id="spartan.search.tmpl" Name="search.tmpl" /> - <File Id="spartan.shortlog.tmpl" Name="shortlog.tmpl" /> - <File Id="spartan.shortlogentry.tmpl" Name="shortlogentry.tmpl" /> - <File Id="spartan.tags.tmpl" Name="tags.tmpl" /> - </Component> - </Directory> - - <Directory Id="templates.staticdir" Name="static"> - <Component Id="templates.static" Guid="$(var.templates.static.guid)"> - <File Id="static.background.png" Name="background.png" KeyPath="yes" /> - <File Id="static.coal.file.png" Name="coal-file.png" /> - <File Id="static.coal.folder.png" Name="coal-folder.png" /> - <File Id="static.excanvas.js" Name="excanvas.js" /> - <File Id="static.graph.js" Name="graph.js" /> - <File Id="static.hgicon.png" Name="hgicon.png" /> - <File Id="static.hglogo.png" Name="hglogo.png" /> - <File Id="static.style.coal.css" Name="style-coal.css" /> - <File Id="static.style.gitweb.css" Name="style-gitweb.css" /> - <File Id="static.style.monoblue.css" Name="style-monoblue.css" /> - <File Id="static.style.paper.css" Name="style-paper.css" /> - <File Id="static.style.css" Name="style.css" /> - </Component> - </Directory> - - </Directory> - - </DirectoryRef> - </Fragment> - - </Wix>
Change 1 of 1 Show Entire File contrib/​wix/​thg-i18n.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?include guids.wxi ?> - - <?define thg_po_langs = - cs;da;de;en_GB;es;fa;fr;he;hr;hu;it;ja;ko;nl;nn;oc;pl;pt;pt_BR;ru;sv;tr;uk;zh_CN;zh_TW - ?> - <!-- lang 'ca' is used for key path --> - - <Fragment> - <DirectoryRef Id="i18ndir" FileSource="$(var.SourceDir)"> - <Directory Id="thgI18nFolder" Name="tortoisehg"> - <Component Id="thgI18nFolder" Guid="$(var.thgI18nFolder.guid)"> - <File Id="thg.ca.po" Name="ca.po" KeyPath="yes" /> - <?foreach LANG in $(var.thg_po_langs) ?> - <File Id="thg.$(var.LANG).po" Name="$(var.LANG).po" /> - <?endforeach?> - </Component> - </Directory> - </DirectoryRef> - </Fragment> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​thg-locale.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - - <?define thglocales = - ca;cs;da;de;en_GB;es;fa;fr;he;hr;hu;it;ja;nl;nn;pl;pt;pt_BR;ru;sv;tr;uk;zh_CN;zh_TW - ?> - - <Fragment> - <ComponentGroup Id="thgLocaleFolder"> - <?foreach LOC in $(var.thglocales) ?> - <ComponentRef Id="thg.locale.$(var.LOC)"/> - <?endforeach?> - </ComponentGroup> - </Fragment> - - <?foreach LOC in $(var.thglocales) ?> - <Fragment> - <DirectoryRef Id="localedir" FileSource="$(var.SourceDir)"> - <Directory Id="thg.locale.$(var.LOC)" Name="$(var.LOC)"> - <Directory Id="thg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> - <Component Id="thg.locale.$(var.LOC)" Guid="*"> - <File Id="tortoisehg.mo.$(var.LOC)" Name="tortoisehg.mo" KeyPath="yes" /> - </Component> - </Directory> - </Directory> - </DirectoryRef> - </Fragment> - <?endforeach?> - -</Wix>
Change 1 of 1 Show Entire File contrib/​wix/​tortoisehg.wxs Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,487 +0,0 @@
-<?xml version='1.0' encoding='windows-1252'?> -<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> - - <!-- Copyright 2010 Steve Borho <steve@borho.org> - - This software may be used and distributed according to the terms of the - GNU General Public License version 2 or any later version. --> - - <?include guids.wxi ?> - - <?if $(var.Platform) = "x64" ?> - <?define IsX64 = yes ?> - <?else?> - <?define IsX64 = no ?> - <?endif?> - - <?define ProgramRegKey = Software\TortoiseHg ?> - - <?include TortoiseOverlaysDefines.wxi ?> - - <!-- shell extension CLSID's --> - <?include ../../win32/shellext/ThgCLSIDs.wxi ?> - - <Product Name='TortoiseHg $(var.Version) ($(var.Platform))' - Id='$(var.ProductId)' - Version='$(var.Version)' - UpgradeCode='$(var.ProductUpgradeCode)' - Language='1033' Codepage='1252' - Manufacturer='Steve Borho and others'> - - <Package Id='*' Keywords='Installer' - Description="Windows shell extension for Mercurial DVCS (version $(var.Version))" - Manufacturer='Steve Borho and others' - InstallerVersion='300' Languages='1033' Compressed='yes' - SummaryCodepage='1252' Platform='$(var.Platform)' - Comments='$(var.Comments)' - /> - - <Media Id='1' Cabinet='tortoisehg.cab' EmbedCab='yes' CompressionLevel='high' - DiskPrompt='CD-ROM #1' - /> - <Property Id='DiskPrompt' Value="TortoiseHg $(var.Version) Installation [1]" /> - - <Property Id='INSTALLDIR'> - <ComponentSearch Id='SearchForMainExecutableComponent' - Guid='$(var.ComponentMainExecutableGUID)' - /> - </Property> - <Property Id='INNOSETUPINSTALL'> - <RegistrySearch - Id='SearchForOldInnoSetupTortoiseHg' Win64='$(var.IsX64)' - Root='HKLM' - Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TortoiseHg_is1' - Type='directory' - Name='InstallLocation' - /> - </Property> - <?if $(var.Platform) = "x86" ?> - <Condition Message = - "The x86 installer may not be used on a x64 platform" - >NOT VersionNT64 - </Condition> - <?endif?> - <Condition Message = - "Backup your user Mercurial.ini file, then uninstall [INNOSETUPINSTALL] before installing this package." - >Installed OR NOT INNOSETUPINSTALL - </Condition> - <Condition Message= - 'TortoiseHg requires Windows XP or higher' - >VersionNT >= 501 - </Condition> - - <!--Property Id='ARPCOMMENTS'>any comments</Property--> - <Property Id='ARPCONTACT'>tortoisehg-discuss@lists.sourceforge.net</Property> - <Property Id='ARPHELPLINK'>http://tortoisehg.org/</Property> - <Property Id='ARPURLINFOABOUT'>http://tortoisehg.org/about.html</Property> - <Property Id='ARPURLUPDATEINFO'>http://tortoisehg.org/</Property> - <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property> - <Property Id='ARPPRODUCTICON'>thgIcon.ico</Property> - - <Property Id='INSTALLEDTORTOISEHGPRODUCTS' Secure='yes'></Property> - <Property Id='REINSTALLMODE'>amus</Property> - - <!--Auto-accept the license page--> - <Property Id='LicenseAccepted'>1</Property> - - <Directory Id='TARGETDIR' Name='SourceDir'> - <Directory Id='ProgramFilesFolder' Name='PFiles'> - <Directory Id='INSTALLDIR' Name='TortoiseHg'> - <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)'> - <File Id='thgEXE' Name='thg.exe' KeyPath='yes' - Source='dist\thg.exe' - /> - <File Id='hgEXE' Name='hg.exe' - Source='dist\hg.exe' - /> - <File Id='libraryZIP' Name='library.zip' - Source='dist\library.zip' - /> - <File Id='pythonDLL' Name='python26.dll' - Source='dist\python26.dll' - /> - <Environment Id="Environment" Name="PATH" Part="last" System="yes" - Permanent="no" Value="[INSTALLDIR]" Action="set" - /> - </Component> - <Component Id='ExtensionVersions' Guid='$(var.ExtensionVersions.guid)'> - <File Id='ExtensionVersions' Name='extension-versions.txt' - KeyPath='yes' - Source='..\extension-versions.txt' - /> - </Component> - <Component Id='OverlayServerEXE' Guid='$(var.OverlayServerEXE.guid)'> - <File Id='OverlayServerEXE' Name='TortoiseHgOverlayServer.exe' - KeyPath='yes' - Source='dist\TortoiseHgOverlayServer.exe' > - <Shortcut Id="OverlayServerEXEshortcut" Directory="ProgramMenuDir" - Name="TortoiseHg Overlay Icon Server" - Icon="thgIcon.ico" IconIndex="0" Advertise="yes" - /> - </File> - <RegistryValue - Name='TortoiseHgOverlayIconServer' - Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Run' - Type='string' Value='[INSTALLDIR]TortoiseHgOverlayServer.exe' - /> - </Component> - <Component Id='thgshellx86dll' Guid='$(var.thgshellx86dll.guid)'> - <File Id='thgshellx86dll' Name='ThgShellx86.dll' KeyPath='yes' - Source='win32\ThgShellx86.dll' - /> - <RegistryValue - Root='HKLM' Key='$(var.ProgramRegKey)' - Type='string' Value='[INSTALLDIR]' - /> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID_TortoiseHgCmenu)\InProcServer32' - Type='string' Value='[INSTALLDIR]ThgShellx86.dll' - /> - <?foreach CLSID in $(var.OverlayCLSIDList) ?> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID)\InProcServer32' - Type='string' Value='[INSTALLDIR]ThgShellx86.dll' - /> - <?endforeach?> - </Component> - <Component Id='CmenuShellRegistrationX86' - Guid='$(var.CmenuShellRegistrationX86.guid)' - > - <?include shell-register-cmenu.wxi ?> - </Component> - <Component Id='OverlaysShellRegistrationX86' - Guid='$(var.OverlaysShellRegistrationX86.guid)' - > - <?include shell-register-overlays.wxi ?> - </Component> - <Component Id='COPYING' Guid='$(var.COPYING.guid)'> - <File Id='COPYING' Name='COPYING.txt' - Source='COPYING.txt' - /> - </Component> - <Component Id='docdiffEXE' Guid='$(var.docdiffEXE.guid)'> - <File Id='docdiffEXE' Name='docdiff.exe' KeyPath='yes' - Source='dist\docdiff.exe' - /> - </Component> - <Component Id='KDiff3EXE' Guid='$(var.KDiff3EXE.guid)'> - <File Id='KDiff3EXE' Name='kdiff3.exe' KeyPath='yes' - Source='..\contrib\kdiff3.exe' - /> - </Component> - <Component Id='TortoisePlinkEXE' Guid='$(var.TortoisePlinkEXE.guid)'> - <File Id='TortoisePlinkEXE' Name='TortoisePlink.exe' KeyPath='yes' - Source='..\contrib\TortoisePlink.exe' - /> - </Component> - <Component Id='PageantEXE' Guid='$(var.PageantEXE.guid)'> - <File Id='PageantEXE' Name='Pageant.exe' KeyPath='yes' - Source='..\contrib\Pageant.exe' - /> - </Component> - <Directory Id='docFolder' Name='doc'> - <Component Id='chmFile' Guid='$(var.chmFile.guid)'> - <File Id='chmFile' Name='TortoiseHg.chm' KeyPath='yes' - Source='doc\build\chm\TortoiseHg.chm' > - <Shortcut Id="chmStartMenu" Directory="ProgramMenuDir" - Name="TortoiseHg Manual (CHM)" - Icon="thgIcon.ico" IconIndex="0" Advertise="yes" - /> - </File> - </Component> - <Component Id='pdfFile' Guid='$(var.pdfFile.guid)'> - <File Id='pdfFile' Name='TortoiseHg.pdf' KeyPath='yes' - Source='doc\build\pdf\TortoiseHg.pdf'> - <Shortcut Id="pdfStartMenu" Directory="ProgramMenuDir" - Name="TortoiseHg Manual (PDF)" - Icon="thgIcon.ico" IconIndex="0" Advertise="yes" - /> - </File> - </Component> - <Component Id='hgbook' Guid='$(var.hgbook.guid)'> - <File Id='hgbook' Name='hgbook.pdf' KeyPath='yes' - Source='..\misc\hgbook.pdf'> - <Shortcut Id="hgbookStartMenu" Directory="ProgramMenuDir" - Name="Mercurial - The Definitive Guide (PDF)" - Icon="hgIcon.ico" IconIndex="0" Advertise="yes" - /> - </File> - </Component> - </Directory> - - <Directory Id='HGRCD' Name='hgrc.d'> - <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)'> - <File Id='mercurial.rc' Name='Mercurial.rc' ReadOnly='yes' - Source='contrib\win32\mercurial.rc' - /> - </Component> - <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)'> - <File Id='mergetools.rc' Name='MergeTools.rc' ReadOnly='yes' - Source='contrib\mergetools.rc' - /> - </Component> - <Component Id="mergepatterns.rc" Guid='$(var.mergepatterns.rc.guid)'> - <File Id='mergepatterns.rc' Name='MergePatterns.rc' - ReadOnly='yes' KeyPath='yes' - Source='contrib\win32\mergepatterns.rc' - /> - </Component> - </Directory> - </Directory> - </Directory> - - <Directory Id="ProgramMenuFolder" Name="Programs"> - <Directory Id="ProgramMenuDir" Name="TortoiseHg $(var.Version)"> - <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)"> - <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> - <RegistryValue - Root='HKCU' Key='$(var.ProgramRegKey)' - Type='string' Value='[INSTALLDIR]' KeyPath='yes' - /> - <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='TortoiseHg Web Site' - Target='[ARPHELPLINK]' Icon="thgIcon.ico" IconIndex='0' /> - <!-- Shortcut Id="UninstallProduct" Name="Uninstall TortoiseHg" - Target="[System64Folder]msiexec.exe" - Arguments="/x [ProductCode]" - Description="Uninstalls TortoiseHg" /--> - </Component> - </Directory> - </Directory> - - <!-- Directory Id="AppDataFolder" Name="AppData"> - <Directory Id="ThgAppData" Name="TortoiseHg"> - <Component Id="ThgAppData" Guid="$(var.ThgAppData.guid)"> - <RemoveFolder Id='ThgAppData' On='uninstall' /> - <RegistryValue Root='HKCU' Key='Software\TortoiseHg\AppData' KeyPath='yes' /> - </Component> - </Directory> - </Directory --> - - <Merge Id='VCRedist' DiskId='1' Language='1033' - SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' - /> - <Merge Id='VCRedistPolicy' DiskId='1' Language='1033' - SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' - /> - <Merge Id='TortoiseOverlaysMergeX86' Language='0' DiskId='1' - SourceFile='$(var.TOverlaysSrcDir)\$(var.TOverlaysSrcFilenameX86)' - /> - <?if $(var.Platform) = "x64" ?> - <Merge Id='TortoiseOverlaysMergeX64' Language='0' DiskId='1' - SourceFile='$(var.TOverlaysSrcDir)\$(var.TOverlaysSrcFilenameX64)' - /> - <Directory Id="CommonFiles64Folder" Name="Programs64" > - <Directory Id="Common64" Name="TortoiseHg" > - <Component Id='thgshellx64dll' Guid='$(var.thgshellx64dll.guid)' Win64='yes'> - <File Id='thgshellx64dll' Name='ThgShellx64.dll' KeyPath='yes' - Source='win32\ThgShellx64.dll' - /> - <RegistryValue - Root='HKLM' Key='$(var.ProgramRegKey)' - Type='string' Value='[INSTALLDIR]' - /> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID_TortoiseHgCmenu)\InProcServer32' - Type='string' Value='[Common64]ThgShellx64.dll' - /> - <?foreach CLSID in $(var.OverlayCLSIDList) ?> - <RegistryValue - Root='HKCR' Key='CLSID\$(var.CLSID)\InProcServer32' - Type='string' Value='[Common64]ThgShellx64.dll' - /> - <?endforeach?> - </Component> - <Component Id='CmenuShellRegistrationX64' Win64='yes' - Guid='$(var.CmenuShellRegistrationX64.guid)' - > - <?include shell-register-cmenu.wxi ?> - </Component> - <Component Id='OverlaysShellRegistrationX64' Win64='yes' - Guid='$(var.OverlaysShellRegistrationX64.guid)' - > - <?include shell-register-overlays.wxi ?> - </Component> - - </Directory> - </Directory> - <?endif?> - </Directory> - - <Feature Id='Complete' Title='TortoiseHg' - Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' - Description='The complete package' > - <Feature Id='MainProgram' Title='Program' - Level='1' Absent='disallow' Display='hidden' - Description='Command line applications: hg, thg' > - <ComponentRef Id='MainExecutable' /> - <ComponentRef Id='ProgramMenuDir' /> - <ComponentRef Id='COPYING' /> - <ComponentRef Id='mercurial.rc' /> - <ComponentRef Id='mergetools.rc' /> - <ComponentRef Id='ExtensionVersions' /> - <ComponentRef Id='helpFolder' /> - <ComponentGroupRef Id='templatesFolder' /> - <ComponentRef Id='Icons' /> - <ComponentRef Id='SvgIcons' /> - </Feature> - <Feature Id='VCRedist' Title='Visual C++ 9.0 Runtime' - AllowAdvertise='no' Display='hidden' Level='1'> - <MergeRef Id='VCRedist'/> - <MergeRef Id='VCRedistPolicy' /> - </Feature> - <?if $(var.Platform) = "x64" ?> - <Feature Id='ShellExtensionX64' Title='Shell Extension x64' - Level='1' AllowAdvertise='no' - Description='Context menu for 64-bit processes'> - <ComponentRef Id='cmenuI18n' /> - <ComponentRef Id='thgshellx64dll' /> - <ComponentRef Id='CmenuShellRegistrationX64' /> - <Feature Id='OverlaysX64' Title='Overlay Icons' - Level='1' AllowAdvertise='no' - Description='Overlay icons for 64-bit processes' - > - <ComponentRef Id='OverlayServerEXE' /> - <MergeRef Id='TortoiseOverlaysMergeX64' /> - <ComponentRef Id='OverlaysShellRegistrationX64' /> - </Feature> - </Feature> - <?endif?> - <?if $(var.Platform) = "x64" ?> - <?define ShellExtensionX86level = 1000 ?> - <?else?> - <?define ShellExtensionX86level = 1 ?> - <?endif?> - <Feature Id='ShellExtensionX86' Title='Shell Extension x86' - Level='$(var.ShellExtensionX86level)' - Absent='allow' AllowAdvertise='no' - Description='Context menu for 32-bit processes'> - <ComponentRef Id='cmenuI18n' /> - <ComponentRef Id='thgshellx86dll' /> - <ComponentRef Id='CmenuShellRegistrationX86' /> - <Feature Id='OverlaysX86' Title='Overlay Icons' - Level='1' AllowAdvertise='no' - Description='Overlay icons for 32-bit processes' - > - <ComponentRef Id='OverlayServerEXE' /> - <MergeRef Id='TortoiseOverlaysMergeX86' /> - <ComponentRef Id='OverlaysShellRegistrationX86' /> - </Feature> - </Feature> - <Feature Id='Locales' Level='1' - Title='Translations' - Description='Mercurial and TortoiseHg Translations'> - <ComponentGroupRef Id='localeFolder' /> - <ComponentRef Id='i18nFolder' /> - <ComponentGroupRef Id='thgLocaleFolder' /> - <ComponentRef Id='thgI18nFolder' /> - </Feature> - <Feature Id='ThgDocumentation' Level='1' - Title='Documentation' - Description='TortoiseHg Manual and HTML man pages'> - <Feature Id='CHM' Level='1' - Title='CHM' - Description='Compiled HTML'> - <ComponentRef Id='chmFile' /> - </Feature> - <Feature Id='PDF' Level='1' - Title='PDF' - Description='Portable Document Format'> - <ComponentRef Id='pdfFile' /> - </Feature> - <Feature Id='HgDocumentation' Level='1' - Title='Man Pages' - Description='Mercurial HTML man pages'> - <ComponentGroupRef Id='docFolder' /> - </Feature> - <Feature Id='HgBook' Level='1' - Title='Mercurial: The Definitive Guide' - Description="Mercurial book by Bryan O'Sullivan"> - <ComponentRef Id='hgbook' /> - </Feature> - </Feature> - <Feature Id='KDiff3' Level='1' - Title='KDiff3' - Description='Diff/Merge Tool'> - <ComponentRef Id='KDiff3EXE' /> - </Feature> - <Feature Id='SSHUtils' Level='1' - Title='SSH Utils' - Description='TortoisePlink and Pageant key agent'> - <ComponentRef Id='TortoisePlinkEXE' /> - <ComponentRef Id='PageantEXE' /> - </Feature> - <Feature Id='Misc' Level='1' - Title='Miscellaneous' - Description='Contributed scripts'> - <Feature Id='HGContrib' Level='1' - Title='Contrib' - Description='Mercurial contrib/'> - <ComponentGroupRef Id='contribFolder' /> - </Feature> - <Feature Id='DocDiffFeature' Level='1' - Title='Doc Diff Scripts' - Description='TortoiseSVN scripts for comparing binary files'> - <ComponentGroupRef Id='DiffScripts' /> - <ComponentRef Id='docdiffEXE' /> - <ComponentRef Id='mergepatterns.rc' /> - </Feature> - </Feature> - </Feature> - - <!-- terminate.dll terminates any running TortoiseHgOverlayServer.exe that supports the - terminate command over the command pipe. Windows installer sometimes - fails to shutdown TortoiseHgOverlayServer.exe, which occasionally leads to a crash - of TortoiseHgOverlayServer.exe during install, which in turn pops up an ugly crash - report dialog pointing to faulting module PYTHON26.DLL. --> - <Binary Id='TerminateDLL' SourceFile='win32\terminate-x86.dll' /> - <CustomAction Id='CallTerminate' - BinaryKey='TerminateDLL' DllEntry='TerminateIconServer' - /> - - <CustomAction Id='StartOverlayServerEXE' - FileKey='OverlayServerEXE' ExeCommand='' Return='asyncNoWait' - /> - - <InstallExecuteSequence> - <!-- AppSearch must be done before RemoveExistingProducts and before - FindRelatedProducts --> - <AppSearch Sequence="1"></AppSearch> - <Custom Action='CallTerminate' Before='InstallValidate'> - INSTALLEDTORTOISEHGPRODUCTS - </Custom> - <RemoveExistingProducts After="InstallValidate"> - INSTALLEDTORTOISEHGPRODUCTS - </RemoveExistingProducts> - <?if $(var.Platform) = "x64" ?> - <Custom Action='StartOverlayServerEXE' After='InstallFinalize'> - <![CDATA[&OverlaysX86=3 OR &OverlaysX64=3]]> - </Custom> - <?else?> - <Custom Action='StartOverlayServerEXE' After='InstallFinalize'> - <![CDATA[&OverlaysX86=3]]> - </Custom> - <?endif?> - </InstallExecuteSequence> - - <Upgrade Id='$(var.ProductUpgradeCode)'> - <UpgradeVersion - IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' - Property='INSTALLEDTORTOISEHGPRODUCTS' - /> - </Upgrade> - - <UIRef Id="WixUI_FeatureTree" /> - <UIRef Id="WixUI_ErrorProgressText" /> - - <Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value = - "NOTE: Logoff/logon or restarting explorer may be needed to start the overlay icons" - /> - - <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> - <WixVariable Id="WixUIBannerBmp" Value="contrib\wix\WixUIBannerBmp.bmp" /> - <WixVariable Id="WixUIDialogBmp" Value="contrib\wix\WixUIDialogBmp.bmp" /> - - <Icon Id="thgIcon.ico" SourceFile="icons\thg_logo.ico" /> - <Icon Id="hgIcon.ico" SourceFile="icons\hg.ico" /> - </Product> -</Wix>
Change 1 of 1 Show Entire File setup.py Stacked
 
261
262
263
264
 
265
266
267
 
261
262
263
 
264
265
266
267
@@ -261,7 +261,7 @@
  'description':'TortoiseHg GUI tools for Mercurial SCM',   'copyright':thgcopyright,   'product_version':version}, - {'script':'contrib/docdiff.py', + {'script':'win32/docdiff.py',   'icon_resources':[(0,'icons/TortoiseMerge.ico')],   'copyright':thgcopyright,   'product_version':version}
Change 1 of 1 Show Entire File win32/​config.py Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@@ -0,0 +1,35 @@
+""" +config.py + Copyright (C) 2009 Steve Borho <steve@borho.org> + +This software may be used and distributed according to the terms +of the GNU General Public License, incorporated herein by reference. +""" + +# This version of config.py is used in the binary installer +# distributions of TortoiseHg on Windows. Since we no longer need to +# worry about Python shell extensions, we can use the path of the +# current executable to find our package data. + +import os +import sys +import win32api, win32process + +proc = win32api.GetCurrentProcess() +try: + # This will fail on windows < NT + procpath = win32process.GetModuleFileNameEx(proc, 0) +except: + procpath = win32api.GetModuleFileName(0) + +bin_path = os.path.dirname(procpath) +license_path = os.path.join(bin_path, 'COPYING.txt') +locale_path = os.path.join(bin_path, 'locale') +icon_path = os.path.join(bin_path, 'icons') + +enc = sys.getfilesystemencoding() +if enc: + bin_path = bin_path.encode(enc) + license_path = license_path.encode(enc) + locale_path = locale_path.encode(enc) + icon_path = icon_path.encode(enc)
Show Entire File win32/​docdiff.py Stacked
renamed from contrib/docdiff.py
(No changes)
Change 1 of 1 Show Entire File win32/​localtags Stacked
 
 
 
1
@@ -0,0 +1,1 @@
+275690997c5f2ace0476775b3b59fe50b639d3de 0.9.2-1
Change 1 of 1 Show Entire File win32/​mercurial.rc Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
@@ -0,0 +1,120 @@
+; System-wide Mercurial config file. +; +; See http://www.selenic.com/mercurial/hgrc.5.html or the file +; 'hgrc.5.html' in the 'docs' subdirectory for help about the syntax +; and semantics of mercurial.ini files. +; +; !!! Do Not Edit This File !!! +; +; This file will be replaced by the installer on every upgrade. +; Editing this file can cause strange side effects on Vista. +; +; http://bitbucket.org/tortoisehg/stable/issue/135 +; +; To change settings you see in this file, override (or enable) them in +; your user Mercurial.ini file, where USERNAME is your Windows user name: +; +; XP or older - C:\Documents and Settings\USERNAME\Mercurial.ini +; Vista or later - C:\Users\USERNAME\Mercurial.ini + +[ui] +; editor used to enter commit logs, etc. Most any text editor +; will suffice. +editor = notepad + +; In order to push/pull over ssh you must specify a ssh tool +ssh = "TortoisePlink.exe" -ssh -2 +;ssh = C:\cygwin\bin\ssh + +; +; For more information about mercurial extensions, start here +; http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions +; + +[extensions] +; extensions shipped with Mercurial by default +; +;acl = +;bookmarks = +;bugzilla = +;children = +;churn = +; Warning: the color extension is not recommended for Windows +;color = +;convert = +;extdiff = +;fetch = +;gpg = +;graphlog = +;hgcia = +;hgk = +;highlight = +;interhg = +;keyword = +;mq = +;notify = +;pager = +;parentrevspec = +;patchbomb = +;progress = +;purge = +;rebase = +;record = +;schemes = +;transplant = +;win32mbcs = +;win32text = +;zeroconf = +; Extra extensions bundled with TortoiseHg +;fold = +;hgcr-gui = +;perfarce = +;hgeol = +;mercurial_keyring = + +; fixfrozenexts is enabled by default. It allows extension help +; to work "out of the box" from binary installers. +fixfrozenexts = + +; +; Define external diff commands, for hg command line use only +; +[extdiff] +;kdiff3 = + +; The git extended diff format will properly store binary files, +; file permission changes, and rename information that the normal +; patch format cannot cover. However it is also not 100% compatible +; with tools which expect normal patches. so enable these at your +; own risk. +; +[diff] +;git = false +;nodates = false + +; +; Keyword extension example configuration. To use, one must +; enable the keyword extension, then uncomment and modify these +; two sections. Before using the keyword extension, be sure to +; thoroughly read it's documentation and understand how it works, +; and why it is not a core feature of Mercurial. +; +; http://www.selenic.com/mercurial/wiki/index.cgi/KeywordExtension +; http://www.selenic.com/mercurial/wiki/index.cgi/KeywordPlan +; +; If you encounter strange problems using Mercurial, a good first +; debugging step would be to disable this extension. +; +[keyword] +; expand keywords in all python files in working dir +;**.py = + +[keywordmaps] +; See documentation for examples + +; The schemes extension must be enabled to use one of these shortcuts. +; See http://mercurial.selenic.com/wiki/SchemesExtension +[schemes] +;bb = http://bitbucket.org/ +;bb+ssh = ssh://hg@bitbucket.org/ +;py = http://code.python.org/hg/
Change 1 of 1 Show Entire File win32/​mergepatterns.rc Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@@ -0,0 +1,24 @@
+[merge-patterns] +**.doc = docdiff +**.docx = docdiff +**.docm = docdiff +**.ods = docdiff +**.odt = docdiff +**.sxw = docdiff + +[diff-patterns] +**.doc = docdiff +**.docx = docdiff +**.docm = docdiff +**.ppt = docdiff +**.pptx = docdiff +**.pptm = docdiff +**.xls = docdiff +**.xlsx = docdiff +**.xlsm = docdiff +**.xlsb = docdiff +**.xlam = docdiff +**.ods = docdiff +**.odt = docdiff +**.sxw = docdiff +**.nb = docdiff
Change 1 of 1 Show Entire File win32/​setup.cfg Stacked
 
 
 
 
 
 
 
1
2
3
4
5
@@ -0,0 +1,5 @@
+[py2exe] +excludes=pywin, pywin.dialogs, pywin.dialogs.list, PyQt4.uic.port_v3, tcl, tk, distutils, py2exe +includes=sip +packages=ctypes, email, hgext, hgext.convert, encodings, tortoisehg.util, tortoisehg.hgqt, iniparse, pygments, nntplib +dll_excludes=mswsock.dll, powrprof.dll, shfolder.dll, credui.dll, msvcp60.dll, secur32.dll, tk85.dll, tcl85.dll
 
 
Change 1 of 1 Show Entire File win32/​wix/​TortoiseOverlaysDefines.wxi Stacked
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
@@ -0,0 +1,8 @@
+<Include> + <?define TOverlaysVersion = 1.1.2.19334 ?> + <?define TOverlaysSrcDir = ..\contrib\TortoiseOverlays ?> + <?define TOverlaysSrcFilenameX86 = TortoiseOverlays-$(var.TOverlaysVersion)-win32.msm ?> + <?define TOverlaysSrcFilenameX64 = TortoiseOverlays-$(var.TOverlaysVersion)-x64.msm ?> + + <?define TOverlaysRegistryKey = Software\TortoiseOverlays ?> +</Include>
Added image
Added image
Change 1 of 1 Show Entire File win32/​wix/​cmenu-i18n.wxs Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + + <?include guids.wxi ?> + + <?define thgcmenulangs = + cs;da;de;en_GB;en_US;es;fa;fr;he;hr;it;ja;ko;nl;nn;pl;pt;pt_BR;ru;tr;uk;zh_CN;zh_TW + ?> + <!-- lang 'ca' is used for key path --> + + <Fragment> + <DirectoryRef Id="i18ndir"> + <Directory Id="cmenuI18n" Name="cmenu" FileSource="$(var.SourceDir)"> + <Component Id="cmenuI18n" Guid="$(var.cmenuI18n.guid)"> + <File Name="thg-cmenu-ca.reg" KeyPath="yes"/> + <?foreach LANG in $(var.thgcmenulangs) ?> + <File Name="thg-cmenu-$(var.LANG).reg" /> + <?endforeach?> + </Component> + </Directory> + </DirectoryRef> + </Fragment> + +</Wix>
Change 1 of 1 Show Entire File win32/​wix/​contrib.wxs Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + + <?include guids.wxi ?> + + <Fragment> + <ComponentGroup Id="contribFolder"> + <ComponentRef Id="contrib" /> + <ComponentRef Id="contrib.vim" /> + </ComponentGroup> + </Fragment> + + <Fragment> + <DirectoryRef Id="INSTALLDIR"> + <Directory Id="contribdir" Name="contrib" FileSource="$(var.SourceDir)"> + <Component Id="contrib" Guid="$(var.contrib.guid)"> + <File Name="bash_completion" KeyPath="yes" /> + <File Name="hgk" /> + <File Name="hgweb.fcgi" /> + <File Name="hgweb.wsgi" /> + <File Name="logo-droplets.svg" /> + <File Name="mercurial.el" /> + <File Name="sample.hgrc" /> + <File Name="tcsh_completion" /> + <File Name="tcsh_completion_build.sh" /> + <File Name="xml.rnc" /> + <File Name="zsh_completion" /> + </Component> + <Directory Id="vimdir" Name="vim"> + <Component Id="contrib.vim" Guid="$(var.contrib.vim.guid)"> + <File Name="hg-menu.vim" KeyPath="yes" /> + <File Name="HGAnnotate.vim" /> + <File Name="hgcommand.vim" /> + <File Name="patchreview.txt" /> + <File Name="patchreview.vim" /> + </Component> + </Directory> + </Directory> + </DirectoryRef> + </Fragment> + +</Wix>
Change 1 of 1 Show Entire File win32/​wix/​doc.wxs Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + + <?include guids.wxi ?> + + <Fragment> + <ComponentGroup Id="docFolder"> + <ComponentRef Id="doc.hg.1.html" /> + <ComponentRef Id="doc.hgignore.5.html" /> + <ComponentRef Id="doc.hgrc.5.html" /> + <ComponentRef Id="doc.style.css" /> + </ComponentGroup> + </Fragment> + + <Fragment> + <DirectoryRef Id="INSTALLDIR"> + <Directory Id="docdir" Name="doc" FileSource="$(var.SourceDir)"> + <Component Id="doc.hg.1.html" Guid="$(var.doc.hg.1.html.guid)"> + <File Name="hg.1.html" KeyPath="yes"> + <Shortcut Id="hg1StartMenu" Directory="ProgramMenuDir" + Name="Mercurial Command Reference" + Icon="hgIcon.ico" IconIndex="0" Advertise="yes" + /> + </File> + </Component> + <Component Id="doc.hgignore.5.html" Guid="$(var.doc.hgignore.5.html.guid)"> + <File Name="hgignore.5.html" KeyPath="yes"> + <Shortcut Id="hgignore5StartMenu" Directory="ProgramMenuDir" + Name="Mercurial Ignore Files" + Icon="hgIcon.ico" IconIndex="0" Advertise="yes" + /> + </File> + </Component> + <Component Id="doc.hgrc.5.html" Guid="$(var.doc.hgrc.5.html)"> + <File Name="hgrc.5.html" KeyPath="yes"> + <Shortcut Id="hgrc5StartMenu" Directory="ProgramMenuDir" + Name="Mercurial Configuration Files" + Icon="hgIcon.ico" IconIndex="0" Advertise="yes" + /> + </File> + </Component> + <Component Id="doc.style.css" Guid="$(var.doc.style.css)"> + <File Name="style.css" KeyPath="yes" /> + </Component> + </Directory> + </DirectoryRef> + </Fragment> + +</Wix>
Change 1 of 1 Show Entire File win32/​wix/​guids.wxi Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
@@ -0,0 +1,79 @@
+<Include> + <!-- These are component GUIDs used for TortoiseHg installers. + YOU MUST CHANGE ALL GUIDs below when copying this file + and replace 'TortoiseHg' in this notice with the name of + your project. Component GUIDs have global namespace! --> + + <!-- contrib.wxs --> + <?define contrib.guid = {D3BC122A-163C-4ef9-91C2-62E04B128A16} ?> + <?define contrib.vim.guid = {BEA4DF96-9CEF-4273-B637-8DE7B10A6FAE} ?> + + <!-- doc.wxs --> + <?define doc.hg.1.html.guid = {6289D803-14D9-4AF8-AE67-4DB12D1EA5A6} ?> + <?define doc.hgignore.5.html.guid = {4E80FFF0-C28A-460F-ABC4-85BC25422B80} ?> + <?define doc.hgrc.5.html = {F392839B-CEB6-462E-8F23-A85D48F99BD3} ?> + <?define doc.style.css = {5C276050-DDDD-49FB-86ED-C636FD629242} ?> + + <!-- help.wxs --> + <?define helpFolder.guid = {D056C216-291F-4304-B791-BD5C5807DD87} ?> + + <!-- i18n.wxs --> + <?define i18nFolder.guid = {3115A038-CA56-4413-97C1-6F0070D6034C} ?> + + <!-- templates.wxs --> + <?define templates.root.guid = {C609F85B-91CD-463f-8C07-57931D53B99F} ?> + <?define templates.atom.guid = {0155E267-F0D5-4115-A7D4-F217599B06C7} ?> + <?define templates.coal.guid = {310F768C-0817-4a07-907C-89AB8FDAE9DE} ?> + <?define templates.gitweb.guid = {6A6B3DFF-EC52-479a-842C-A650FCF2D39C} ?> + <?define templates.monoblue.guid = {3AA37057-AFB1-4150-8062-2372257A91D2} ?> + <?define templates.paper.guid = {071CFCD8-2F96-4df8-8539-EF3D8176A0FB} ?> + <?define templates.raw.guid = {F71E0FEB-32F9-4b18-91A5-A59722C682DC} ?> + <?define templates.rss.guid = {23DA0B15-6463-400b-95E0-CD5FAD6B75B5} ?> + <?define templates.spartan.guid = {0686468F-D950-422f-A904-1B09FFD3C852} ?> + <?define templates.static.guid = {9AC0E261-7563-4147-9974-12022C1CBD4E} ?> + + <!-- cmenu-i18n.wxs --> + <?define cmenuI18n.guid = {B0AB4947-248C-4c6b-841C-49284EF99022} ?> + + <!-- icons.wxs --> + <?define Icons.guid = {30E997E7-FB02-4d34-AF61-A6FD6C93E268} ?> + <?define SvgIcons.guid = {7C87CCC7-8377-49c8-ACFD-1F246ED14747} ?> + + <!-- thg-i18n.wxs --> + <?define thgI18nFolder.guid = {69E6E182-BCD2-4b03-A941-7B9A054DF7AF} ?> + + <!-- tortoisehg.wxs --> + <?define ProductUpgradeCode = {838657CF-C9EC-452D-800D-0E70FC021D0A} ?> + + <?define ComponentMainExecutableGUID = {CD691D8E-79AD-4e22-9234-89C62B5C2243} ?> + + <?define thgshellx86dll.guid = {1126CF42-3994-428B-A746-464E1BC680F3} ?> + <?define thgshellx64dll.guid = {59FD2A49-BA62-40CC-B155-D11DB11EE611} ?> + + <?define CmenuShellRegistrationX86.guid = {287A355F-3DF6-4f55-9DD5-FABD09498B0C} ?> + <?define CmenuShellRegistrationX64.guid = {46DF4532-7BFF-427a-BC59-F3B4D1022F56} ?> + + <?define OverlaysShellRegistrationX86.guid = {5592F837-8C78-43f0-AD8D-2E2EA4B17E45} ?> + <?define OverlaysShellRegistrationX64.guid = {9B1300FC-3D05-4c82-991D-96277404C4BA} ?> + <?define OverlayServerEXE.guid = {DC5D9CC4-8330-4146-99EC-30D3AA255DD4} ?> + + <?define ExtensionVersions.guid = {1996AB0D-634D-4DC8-9581-326151F38B11} ?> + <?define COPYING.guid = {382A8405-CB7B-42E8-8B9D-88B5C5283E73} ?> + + <?define docdiffEXE.guid = {4BA6389A-6A0B-483B-A3FE-86EE436FDD31} ?> + <?define KDiff3EXE.guid = {B2A5EFD4-A385-45E0-8467-46B955979672} ?> + <?define TortoisePlinkEXE.guid = {A18BFE4D-BED0-4EF9-97CC-5B4326E3CD2F} ?> + <?define PageantEXE.guid = {EA7EF381-076C-47CE-8F51-355DB7F86D1A} ?> + + <?define chmFile.guid = {A26038DC-C686-4296-9335-FA4B9ABC769C} ?> + <?define pdfFile.guid = {1C5792DA-C48F-4F7F-9CD8-FC467995B8E4} ?> + <?define hgbook.guid = {A5F6D094-BCFD-4AC0-8675-7DF8CC94FEE5} ?> + + <?define mercurial.rc.guid = {28ACE5D7-FFCE-488E-A94A-8F13A21DD25D} ?> + <?define mergetools.rc.guid = {30CC047C-48B4-4D91-B8EC-79975327A9C7} ?> + <?define mergepatterns.rc.guid = {05860DA7-8391-43A4-A4E7-6E9E084D11C6} ?> + + <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> + <?define ThgAppData.guid = {94B8FBB5-4AE3-4960-B3D8-94BEFC6366E9} ?> + +</Include>
Change 1 of 1 Show Entire File win32/​wix/​help.wxs Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + + <?include guids.wxi ?> + + <Fragment> + <DirectoryRef Id="INSTALLDIR"> + <Directory Id="helpdir" Name="help" FileSource="$(var.SourceDir)"> + <Component Id="helpFolder" Guid="$(var.helpFolder.guid)"> + <File Name="config.txt" KeyPath="yes" /> + <File Name="dates.txt" /> + <File Name="diffs.txt" /> + <File Name="environment.txt" /> + <File Name="extensions.txt" /> + <File Name="glossary.txt" /> + <File Name="hgweb.txt" /> + <File Name="multirevs.txt" /> + <File Name="patterns.txt" /> + <File Name="revisions.txt" /> + <File Name="revsets.txt" /> + <File Name="templates.txt" /> + <File Name="urls.txt" /> + </Component> + </Directory> + </DirectoryRef> + </Fragment> + +</Wix>
Change 1 of 1 Show Entire File win32/​wix/​i18n.wxs Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + + <?include guids.wxi ?> + + <?define hg_po_langs = + da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW + ?> + + <Fragment> + <DirectoryRef Id="INSTALLDIR"> + <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)"> + <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)"> + <File Name="hggettext" KeyPath="yes" /> + <?foreach LANG in $(var.hg_po_langs) ?> + <File Id="hg.$(var.LANG).po" + Name="$(var.LANG).po" + /> + <?endforeach?> + </Component> + </Directory> + </DirectoryRef> + </Fragment> + +</Wix>
Change 1 of 1 Show Entire File win32/​wix/​icons.wxs Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + + <?include guids.wxi ?> + + <Fragment> + <DirectoryRef Id="INSTALLDIR"> + + <Directory Id="IconsDirectory" Name="icons" FileSource="$(var.SourceDir)"> + + <Component Id='Icons' Guid='$(var.Icons.guid)'> + <File Name="branch.ico" KeyPath="yes" /> + <File Name="detect_rename.ico" /> + <File Name="fileadd.ico" /> + <File Name="filedelete.ico" /> + <File Name="filemodify.ico" /> + <File Name="general.ico" /> + <File Name="hg.ico" /> + <File Name="hg_60.ico" /> + <File Name="hgB.ico" /> + <File Name="ignore.ico" /> + <File Name="menuabout.ico" /> + <File Name="menuadd.ico" /> + <File Name="menublame.ico" /> + <File Name="menucheckout.ico" /> + <File Name="menuclone.ico" /> + <File Name="menucommit.ico" /> + <File Name="menucreaterepos.ico" /> + <File Name="menudelete.ico" /> + <File Name="menudiff.ico" /> + <File Name="menuhelp.ico" /> + <File Name="menuimport.ico" /> + <File Name="menulog.ico" /> + <File Name="menumerge.ico" /> + <File Name="menupatch.ico" /> + <File Name="menurelocate.ico" /> + <File Name="menurepobrowse.ico" /> + <File Name="menurevert.ico" /> + <File Name="menurevisiongraph.ico" /> + <File Name="menusettings.ico" /> + <File Name="menushowchanged.ico" /> + <File Name="menusynch.ico" /> + <File Name="menuunmerge.ico" /> + <File Name="proxy.ico" /> + <File Name="python.ico" /> + <File Name="README.txt" /> + <File Name="refresh_overlays.ico" /> + <File Name="settings_repo.ico" /> + <File Name="settings_user.ico" /> + <File Name="shelve.ico" /> + <File Name="thg_logo.ico" /> + <File Name="thg_logo_92x50.png" /> + <File Name="TortoiseMerge.ico" /> + </Component> + + <Directory Id="SvgDirectory" Name="svg"> + <Component Id='SvgIcons' Guid='$(var.SvgIcons.guid)'> + <File Name="add.svg" KeyPath="yes" /> + <File Name="checkout.svg" /> + <File Name="clone.svg" /> + <File Name="commit.svg" /> + <File Name="detect_rename.svg" /> + <File Name="ignore.svg" /> + <File Name="init.svg" /> + <File Name="log.svg" /> + <File Name="merge.svg" /> + <File Name="proxy.svg" /> + <File Name="recovery.svg" /> + <File Name="refresh_overlays.svg" /> + <File Name="remove.svg" /> + <File Name="repobrowse.svg" /> + <File Name="revert.svg" /> + <File Name="shelve.svg" /> + <File Name="status.svg" /> + <File Name="sync.svg" /> + <File Name="thg_logo.svg" /> + </Component> + + </Directory> + + </Directory> + + </DirectoryRef> + </Fragment> + +</Wix>
Change 1 of 1 Show Entire File win32/​wix/​locale.wxs Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + + <?define hglocales = + da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW + ?> + + <Fragment> + <ComponentGroup Id="localeFolder"> + <?foreach LOC in $(var.hglocales) ?> + <ComponentRef Id="hg.locale.$(var.LOC)"/> + <?endforeach?> + </ComponentGroup> + </Fragment> + + <Fragment> + <DirectoryRef Id="INSTALLDIR"> + <Directory Id="localedir" Name="locale" FileSource="$(var.SourceDir)"> + <?foreach LOC in $(var.hglocales) ?> + <Directory Id="hg.locale.$(var.LOC)" Name="$(var.LOC)"> + <Directory Id="hg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> + <Component Id="hg.locale.$(var.LOC)" Guid="*"> + <File Id="hg.mo.$(var.LOC)" Name="hg.mo" KeyPath="yes" /> + </Component> + </Directory> + </Directory> + <?endforeach?> + </Directory> + </DirectoryRef> + </Fragment> + +</Wix>
Change 1 of 1 Show Entire File win32/​wix/​sdk_build_extensions.cmd Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@@ -0,0 +1,26 @@
+:: %1 - TortoiseHg Version first level +:: %2 - second level +:: %3 - third level +:: %4 - platform (x86 or x64) +:: %5 - msi product id (GUID) + +set _SDKBIN_=%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin +if exist "%_SDKBIN_%" goto :ok +set _SDKBIN_=%ProgramW6432%\Microsoft SDKs\Windows\v7.0\Bin +if exist "%_SDKBIN_%" goto :ok +echo Microsoft Windows SDK 7 SP1 not installed +pause +exit 1 +:ok + +cd win32\shellext + +call "%_SDKBIN_%\SetEnv.cmd" /xp /%4 /release +set DEBUG=1 +set THG_PLATFORM=%4 +set THG_EXTRA_CPPFLAGS=/DTHG_PRODUCT_ID=%5 +set THG_EXTRA_RCFLAGS=/dTHG_VERSION_FIRST=%1 /dTHG_VERSION_SECOND=%2 /dTHG_VERSION_THIRD=%3 /dTHG_PRODUCT_ID="%5" +nmake /f Makefile.nmake clean +nmake /f Makefile.nmake +move ThgShell%4.dll .. +move terminate-%4.exe ..
This file's diff was not loaded because this changeset is very large. Load changes
This file's diff was not loaded because this changeset is very large. Load changes
Show Entire File win32/​wix/​templates.wxs Stacked
This file's diff was not loaded because this changeset is very large. Load changes
Show Entire File win32/​wix/​thg-i18n.wxs Stacked
This file's diff was not loaded because this changeset is very large. Load changes
Show Entire File win32/​wix/​thg-locale.wxs Stacked
This file's diff was not loaded because this changeset is very large. Load changes
Show Entire File win32/​wix/​tortoisehg.wxs Stacked
This file's diff was not loaded because this changeset is very large. Load changes