Show More
@@ -0,0 +1,39 b'' | |||
|
1 | <?xml version="1.0" encoding="utf-8"?> | |
|
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
|
3 | ||
|
4 | <?include guids.wxi ?> | |
|
5 | ||
|
6 | <Fragment> | |
|
7 | <DirectoryRef Id="INSTALLDIR" FileSource="$(var.SourceDir)"> | |
|
8 | <Component Id="distOutput" Guid="$(var.dist.guid)"> | |
|
9 | <File Name="library.zip" KeyPath="yes" /> | |
|
10 | <File Name="mercurial.base85.pyd" /> | |
|
11 | <File Name="mercurial.bdiff.pyd" /> | |
|
12 | <File Name="mercurial.diffhelpers.pyd" /> | |
|
13 | <File Name="mercurial.mpatch.pyd" /> | |
|
14 | <File Name="mercurial.osutil.pyd" /> | |
|
15 | <File Name="mercurial.parsers.pyd" /> | |
|
16 | <File Name="pyexpat.pyd" /> | |
|
17 | <File Name="python26.dll" /> | |
|
18 | <File Name="pythoncom26.dll" /> | |
|
19 | <File Name="pywintypes26.dll" /> | |
|
20 | <File Name="bz2.pyd" /> | |
|
21 | <File Name="select.pyd" /> | |
|
22 | <File Name="unicodedata.pyd" /> | |
|
23 | <File Name="win32api.pyd" /> | |
|
24 | <File Name="win32com.shell.shell.pyd" /> | |
|
25 | <File Name="win32console.pyd" /> | |
|
26 | <File Name="win32file.pyd" /> | |
|
27 | <File Name="win32gui.pyd" /> | |
|
28 | <File Name="win32pipe.pyd" /> | |
|
29 | <File Name="win32process.pyd" /> | |
|
30 | <File Name="_elementtree.pyd" /> | |
|
31 | <File Name="_hashlib.pyd" /> | |
|
32 | <File Name="_socket.pyd" /> | |
|
33 | <File Name="_ssl.pyd" /> | |
|
34 | <File Name="_win32sysloader.pyd" /> | |
|
35 | </Component> | |
|
36 | </DirectoryRef> | |
|
37 | </Fragment> | |
|
38 | ||
|
39 | </Wix> |
@@ -1,46 +1,50 b'' | |||
|
1 | 1 | <Include> |
|
2 | 2 | <!-- These are component GUIDs used for Mercurial installers. |
|
3 | 3 | YOU MUST CHANGE ALL GUIDs below when copying this file |
|
4 | 4 | and replace 'Mercurial' in this notice with the name of |
|
5 | 5 | your project. Component GUIDs have global namespace! --> |
|
6 | 6 | |
|
7 | 7 | <!-- contrib.wxs --> |
|
8 | 8 | <?define contrib.guid = {F17D27B7-4A6B-4cd2-AE72-FED3CFAA585E} ?> |
|
9 | 9 | <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?> |
|
10 | 10 | |
|
11 | <!-- dist.wxs --> | |
|
12 | <?define dist.guid = {0F63D160-0740-4BAF-BF25-0C6930310F51} ?> | |
|
13 | ||
|
11 | 14 | <!-- doc.wxs --> |
|
12 | 15 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> |
|
13 | 16 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> |
|
14 | 17 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> |
|
15 | 18 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> |
|
16 | 19 | |
|
17 | 20 | <!-- help.wxs --> |
|
18 | 21 | <?define helpFolder.guid = {21FE9CF9-933E-4C2E-B2EC-413A569FB996} ?> |
|
19 | 22 | |
|
20 | 23 | <!-- i18n.wxs --> |
|
21 | 24 | <?define i18nFolder.guid = {EADFA693-A0B5-4f31-87C9-3997CFAC1B42} ?> |
|
22 | 25 | |
|
23 | 26 | <!-- templates.wxs --> |
|
24 | 27 | <?define templates.root.guid = {111509CB-4C96-4035-80BC-F66A99CD5ACB} ?> |
|
25 | 28 | <?define templates.atom.guid = {45FCDF84-DE27-44f4-AF6C-C41F5994AE0D} ?> |
|
26 | 29 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> |
|
27 | 30 | <?define templates.gitweb.guid = {D8BFE3ED-06DD-4C4D-A00D-6D825955F922} ?> |
|
28 | 31 | <?define templates.monoblue.guid = {A394B4D5-2AF7-4AAC-AEA8-E92176E5501E} ?> |
|
29 | 32 | <?define templates.paper.guid = {7C94B80D-FD0D-44E7-8489-F30A9E20A47F} ?> |
|
30 | 33 | <?define templates.raw.guid = {04DE03A2-FBFD-4c5f-8DEA-5436DDF4689D} ?> |
|
31 | 34 | <?define templates.rss.guid = {A7D608DE-0CF6-44f4-AF1E-EE30CC237FDA} ?> |
|
32 | 35 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> |
|
33 | 36 | <?define templates.static.guid = {68C9F843-DE7E-480f-9DA2-D220B19D02C3} ?> |
|
34 | 37 | |
|
35 | 38 | <!-- mercurial.wxs --> |
|
36 | 39 | <?define ProductUpgradeCode = {A1CC6134-E945-4399-BE36-EB0017FDF7CF} ?> |
|
37 | 40 | |
|
38 | 41 | <?define ComponentMainExecutableGUID = {D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF} ?> |
|
39 | 42 | |
|
40 | 43 | <?define ReadMe.guid = {56A8E372-991D-4DCA-B91D-93D775974CF5} ?> |
|
41 | 44 | <?define COPYING.guid = {B7801DBA-1C49-4BF4-91AD-33C65F5C7895} ?> |
|
42 | 45 | <?define mercurial.rc.guid = {1D5FAEEE-7E6E-43B1-9F7F-802714316B15} ?> |
|
43 | 46 | <?define mergetools.rc.guid = {E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD} ?> |
|
44 | 47 | <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> |
|
48 | <?define hgcmd.guid = {65CCC756-E72E-4C5F-901E-D575EDC80DB3} ?> | |
|
45 | 49 | |
|
46 | 50 | </Include> |
@@ -1,144 +1,157 b'' | |||
|
1 | 1 | <?xml version='1.0' encoding='windows-1252'?> |
|
2 | 2 | <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> |
|
3 | 3 | |
|
4 | 4 | <!-- Copyright 2010 Steve Borho <steve@borho.org> |
|
5 | 5 | |
|
6 | 6 | This software may be used and distributed according to the terms of the |
|
7 | 7 | GNU General Public License version 2 or any later version. --> |
|
8 | 8 | |
|
9 | 9 | <?include guids.wxi ?> |
|
10 | 10 | |
|
11 | <?if $(var.Platform) = "x64" ?> | |
|
12 | <?define IsX64 = yes ?> | |
|
13 | <?else?> | |
|
14 | <?define IsX64 = no ?> | |
|
15 | <?endif?> | |
|
16 | ||
|
11 | 17 | <Product Id='*' |
|
12 | 18 | Name='Mercurial $(var.Version)' |
|
13 | 19 | UpgradeCode='$(var.ProductUpgradeCode)' |
|
14 | 20 | Language='1033' Codepage='1252' Version='$(var.Version)' |
|
15 | 21 | Manufacturer='Matt Mackall and others'> |
|
16 | 22 | |
|
17 | 23 | <Package Id='*' |
|
18 | 24 | Keywords='Installer' |
|
19 | 25 | Description="Mercurial distributed SCM (version $(var.Version))" |
|
20 | 26 | Comments='$(var.Comments)' |
|
21 | 27 | Manufacturer='Matt Mackall and others' |
|
22 | 28 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> |
|
23 | 29 | |
|
24 | 30 | <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' |
|
25 | 31 | CompressionLevel='high' /> |
|
26 | 32 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> |
|
27 | 33 | |
|
28 | 34 | <Condition Message='Mercurial requires Windows XP or higher' |
|
29 | 35 | >VersionNT >= 501</Condition> |
|
30 | 36 | |
|
31 | 37 | <Property Id="INSTALLDIR"> |
|
32 | 38 | <ComponentSearch Id='SearchForMainExecutableComponent' |
|
33 | 39 | Guid='$(var.ComponentMainExecutableGUID)' /> |
|
34 | 40 | </Property> |
|
35 | 41 | |
|
36 | 42 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> |
|
37 | 43 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> |
|
38 | 44 | <Property Id='ARPHELPLINK'>http://mercurial.selenic.com/wiki/</Property> |
|
39 | 45 | <Property Id='ARPURLINFOABOUT'>http://mercurial.selenic.com/about/</Property> |
|
40 | 46 | <Property Id='ARPURLUPDATEINFO'>http://mercurial.selenic.com/downloads/</Property> |
|
41 | 47 | <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property> |
|
42 | 48 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> |
|
43 | 49 | |
|
44 | 50 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> |
|
45 | 51 | <Property Id='REINSTALLMODE'>amus</Property> |
|
46 | 52 | |
|
47 | 53 | <!--Auto-accept the license page--> |
|
48 | 54 | <Property Id='LicenseAccepted'>1</Property> |
|
49 | 55 | |
|
50 | 56 | <Directory Id='TARGETDIR' Name='SourceDir'> |
|
51 | 57 | <Directory Id='ProgramFilesFolder' Name='PFiles'> |
|
52 | 58 | <Directory Id='INSTALLDIR' Name='Mercurial'> |
|
53 | 59 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)'> |
|
54 | 60 | <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> |
|
55 | <File Id='libraryZIP' Name='library.zip' Source='dist\library.zip' /> | |
|
56 | <File Id='pythonDLL' Name='python26.dll' Source='dist\python26.dll' /> | |
|
57 | 61 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" |
|
58 | Permanent="no" Value="[INSTALLDIR]" Action="set" /> | |
|
62 | Permanent="no" Value="[INSTALLDIR]bin" Action="set" /> | |
|
59 | 63 | </Component> |
|
60 | 64 | <Component Id='ReadMe' Guid='$(var.ReadMe.guid)'> |
|
61 | 65 | <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' |
|
62 | 66 | KeyPath='yes'/> |
|
63 | 67 | </Component> |
|
64 | 68 | <Component Id='COPYING' Guid='$(var.COPYING.guid)'> |
|
65 | 69 | <File Id='COPYING' Name='COPYING.rtf' Source='contrib\wix\COPYING.rtf' |
|
66 | 70 | KeyPath='yes'/> |
|
67 | 71 | </Component> |
|
72 | ||
|
68 | 73 | <Directory Id='HGRCD' Name='hgrc.d'> |
|
69 | 74 | <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)'> |
|
70 | 75 | <File Id='mercurial.rc' Name='Mercurial.rc' Source='contrib\win32\mercurial.ini' |
|
71 | 76 | ReadOnly='yes' KeyPath='yes'/> |
|
72 | 77 | </Component> |
|
73 | 78 | <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)'> |
|
74 | 79 | <File Id='mergetools.rc' Name='MergeTools.rc' Source='contrib\mergetools.hgrc' |
|
75 | 80 | ReadOnly='yes' KeyPath='yes'/> |
|
76 | 81 | </Component> |
|
77 | 82 | </Directory> |
|
83 | ||
|
84 | <Directory Id='binFolder' Name='bin'> | |
|
85 | <Component Id='HgCmd' Guid='$(var.hgcmd.guid)'> | |
|
86 | <File Id='Hg.Cmd' Name='hg.cmd' KeyPath='yes' Source='contrib\wix\hg.cmd' /> | |
|
87 | </Component> | |
|
88 | </Directory> | |
|
78 | 89 | </Directory> |
|
79 | 90 | </Directory> |
|
80 | 91 | |
|
81 | 92 | <Directory Id="ProgramMenuFolder" Name="Programs"> |
|
82 | 93 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> |
|
83 | 94 | <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)"> |
|
84 | 95 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> |
|
85 | 96 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' |
|
86 | 97 | Value='[INSTALLDIR]' KeyPath='yes' /> |
|
87 | 98 | <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' |
|
88 | 99 | Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' /> |
|
89 | 100 | </Component> |
|
90 | 101 | </Directory> |
|
91 | 102 | </Directory> |
|
92 | 103 | |
|
93 | 104 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
94 | 105 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> |
|
95 | 106 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
96 | 107 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> |
|
97 | 108 | </Directory> |
|
98 | 109 | |
|
99 | 110 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' |
|
100 | 111 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > |
|
101 | 112 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' |
|
102 | 113 | Level='1' Absent='disallow' > |
|
103 | 114 | <ComponentRef Id='MainExecutable' /> |
|
115 | <ComponentRef Id='distOutput' /> | |
|
104 | 116 | <ComponentRef Id='ProgramMenuDir' /> |
|
105 | 117 | <ComponentRef Id='ReadMe' /> |
|
106 | 118 | <ComponentRef Id='COPYING' /> |
|
107 | 119 | <ComponentRef Id='mercurial.rc' /> |
|
108 | 120 | <ComponentRef Id='mergetools.rc' /> |
|
109 | 121 | <ComponentRef Id='helpFolder' /> |
|
122 | <ComponentRef Id='HgCmd' /> | |
|
110 | 123 | <ComponentGroupRef Id='templatesFolder' /> |
|
111 | 124 | <MergeRef Id='VCRuntime' /> |
|
112 | 125 | <MergeRef Id='VCRuntimePolicy' /> |
|
113 | 126 | </Feature> |
|
114 | 127 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> |
|
115 | 128 | <ComponentGroupRef Id='localeFolder' /> |
|
116 | 129 | <ComponentRef Id='i18nFolder' /> |
|
117 | 130 | </Feature> |
|
118 | 131 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> |
|
119 | 132 | <ComponentGroupRef Id='docFolder' /> |
|
120 | 133 | </Feature> |
|
121 | 134 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> |
|
122 | 135 | <ComponentGroupRef Id='contribFolder' /> |
|
123 | 136 | </Feature> |
|
124 | 137 | </Feature> |
|
125 | 138 | |
|
126 | 139 | <UIRef Id="WixUI_FeatureTree" /> |
|
127 | 140 | <UIRef Id="WixUI_ErrorProgressText" /> |
|
128 | 141 | |
|
129 | 142 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> |
|
130 | 143 | |
|
131 | 144 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> |
|
132 | 145 | |
|
133 | 146 | <Upgrade Id='$(var.ProductUpgradeCode)'> |
|
134 | 147 | <UpgradeVersion |
|
135 | 148 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' |
|
136 | 149 | Property='INSTALLEDMERCURIALPRODUCTS' /> |
|
137 | 150 | </Upgrade> |
|
138 | 151 | |
|
139 | 152 | <InstallExecuteSequence> |
|
140 | 153 | <RemoveExistingProducts After='InstallInitialize'/> |
|
141 | 154 | </InstallExecuteSequence> |
|
142 | 155 | |
|
143 | 156 | </Product> |
|
144 | 157 | </Wix> |
General Comments 0
You need to be logged in to leave comments.
Login now