Show More
@@ -1,52 +1,49 | |||||
1 | <?xml version="1.0" encoding="utf-8"?> |
|
1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
|
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
3 |
|
3 | |||
4 | <?include guids.wxi ?> |
|
4 | <?include guids.wxi ?> | |
5 |
|
5 | |||
6 | <Fragment> |
|
6 | <Fragment> | |
7 | <DirectoryRef Id="INSTALLDIR"> |
|
7 | <ComponentGroup Id="docFolder"> | |
8 | <Directory Id="docdir" Name="doc" /> |
|
8 | <ComponentRef Id="doc.hg.1.html" /> | |
9 | </DirectoryRef> |
|
9 | <ComponentRef Id="doc.hgignore.5.html" /> | |
|
10 | <ComponentRef Id="doc.hgrc.5.html" /> | |||
|
11 | <ComponentRef Id="doc.style.css" /> | |||
|
12 | </ComponentGroup> | |||
10 | </Fragment> |
|
13 | </Fragment> | |
11 |
|
14 | |||
12 | <Fragment> |
|
15 | <Fragment> | |
13 | <ComponentGroup Id="docFolder"> |
|
16 | <DirectoryRef Id="INSTALLDIR"> | |
14 | <Component Id="doc.hg.1.html" Directory="docdir" |
|
17 | <Directory Id="docdir" Name="doc" FileSource="$(var.SourceDir)"> | |
15 |
|
|
18 | <Component Id="doc.hg.1.html" Guid="$(var.doc.hg.1.html.guid)"> | |
16 | > |
|
19 | <File Name="hg.1.html" KeyPath="yes"> | |
17 | <File Source="$(var.SourceDir)\hg.1.html" KeyPath="yes"> |
|
|||
18 | <Shortcut Id="hg1StartMenu" Directory="ProgramMenuDir" |
|
20 | <Shortcut Id="hg1StartMenu" Directory="ProgramMenuDir" | |
19 | Name="Mercurial Command Reference" |
|
21 | Name="Mercurial Command Reference" | |
20 | Icon="hgIcon.ico" IconIndex="0" Advertise="yes" |
|
22 | Icon="hgIcon.ico" IconIndex="0" Advertise="yes" | |
21 | /> |
|
23 | /> | |
22 | </File> |
|
24 | </File> | |
23 | </Component> |
|
25 | </Component> | |
24 |
<Component Id="doc.hgignore.5.html" |
|
26 | <Component Id="doc.hgignore.5.html" Guid="$(var.doc.hgignore.5.html.guid)"> | |
25 | Guid="$(var.doc.hgignore.5.html.guid)" |
|
27 | <File Name="hgignore.5.html" KeyPath="yes"> | |
26 | > |
|
|||
27 | <File Source="$(var.SourceDir)\hgignore.5.html" KeyPath="yes"> |
|
|||
28 | <Shortcut Id="hgignore5StartMenu" Directory="ProgramMenuDir" |
|
28 | <Shortcut Id="hgignore5StartMenu" Directory="ProgramMenuDir" | |
29 | Name="Mercurial Ignore Files" |
|
29 | Name="Mercurial Ignore Files" | |
30 | Icon="hgIcon.ico" IconIndex="0" Advertise="yes" |
|
30 | Icon="hgIcon.ico" IconIndex="0" Advertise="yes" | |
31 | /> |
|
31 | /> | |
32 | </File> |
|
32 | </File> | |
33 | </Component> |
|
33 | </Component> | |
34 |
<Component Id="doc.hgrc.5.html" |
|
34 | <Component Id="doc.hgrc.5.html" Guid="$(var.doc.hgrc.5.html)"> | |
35 | Guid="$(var.doc.hgrc.5.html)" |
|
35 | <File Name="hgrc.5.html" KeyPath="yes"> | |
36 | > |
|
|||
37 | <File Source="$(var.SourceDir)\hgrc.5.html" KeyPath="yes"> |
|
|||
38 | <Shortcut Id="hgrc5StartMenu" Directory="ProgramMenuDir" |
|
36 | <Shortcut Id="hgrc5StartMenu" Directory="ProgramMenuDir" | |
39 | Name="Mercurial Configuration Files" |
|
37 | Name="Mercurial Configuration Files" | |
40 | Icon="hgIcon.ico" IconIndex="0" Advertise="yes" |
|
38 | Icon="hgIcon.ico" IconIndex="0" Advertise="yes" | |
41 | /> |
|
39 | /> | |
42 | </File> |
|
40 | </File> | |
43 | </Component> |
|
41 | </Component> | |
44 |
<Component Id="doc.style.css" |
|
42 | <Component Id="doc.style.css" Guid="$(var.doc.style.css)"> | |
45 | Guid="$(var.doc.style.css)" |
|
43 | <File Name="style.css" KeyPath="yes" /> | |
46 | > |
|
|||
47 | <File Source="$(var.SourceDir)\style.css" KeyPath="yes" /> |
|
|||
48 | </Component> |
|
44 | </Component> | |
49 | </ComponentGroup> |
|
45 | </Directory> | |
|
46 | </DirectoryRef> | |||
50 | </Fragment> |
|
47 | </Fragment> | |
51 |
|
48 | |||
52 | </Wix> |
|
49 | </Wix> |
@@ -1,35 +1,46 | |||||
1 | <Include> |
|
1 | <Include> | |
2 | <!-- These are component GUIDs used for Mercurial installers. |
|
2 | <!-- These are component GUIDs used for Mercurial installers. | |
3 | YOU MUST CHANGE ALL GUIDs below when copying this file |
|
3 | YOU MUST CHANGE ALL GUIDs below when copying this file | |
4 | and replace 'Mercurial' in this notice with the name of |
|
4 | and replace 'Mercurial' in this notice with the name of | |
5 | your project. Component GUIDs have global namespace! --> |
|
5 | your project. Component GUIDs have global namespace! --> | |
6 |
|
6 | |||
7 | <!-- contrib.wxs --> |
|
7 | <!-- contrib.wxs --> | |
8 | <?define contrib.guid = {B2EB15EA-F5F2-40c7-97EB-944DBED85F83} ?> |
|
8 | <?define contrib.guid = {B2EB15EA-F5F2-40c7-97EB-944DBED85F83} ?> | |
9 | <?define contrib.vim.guid = {56B49B46-6657-405d-9E91-3FA68D011471} ?> |
|
9 | <?define contrib.vim.guid = {56B49B46-6657-405d-9E91-3FA68D011471} ?> | |
10 |
|
10 | |||
11 | <!-- doc.wxs --> |
|
11 | <!-- doc.wxs --> | |
12 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> |
|
12 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> | |
13 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> |
|
13 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> | |
14 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> |
|
14 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> | |
15 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> |
|
15 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> | |
16 |
|
16 | |||
17 | <!-- help.wxs --> |
|
17 | <!-- help.wxs --> | |
18 | <?define helpFolder.guid = {FA1546C1-5730-4e55-8542-76F5830841EE} ?> |
|
18 | <?define helpFolder.guid = {FA1546C1-5730-4e55-8542-76F5830841EE} ?> | |
19 |
|
19 | |||
20 | <!-- i18n.wxs --> |
|
20 | <!-- i18n.wxs --> | |
21 | <?define i18nFolder.guid = {EADFA693-A0B5-4f31-87C9-3997CFAC1B42} ?> |
|
21 | <?define i18nFolder.guid = {EADFA693-A0B5-4f31-87C9-3997CFAC1B42} ?> | |
22 |
|
22 | |||
23 | <!-- templates.wxs --> |
|
23 | <!-- templates.wxs --> | |
24 | <?define templates.root.guid = {111509CB-4C96-4035-80BC-F66A99CD5ACB} ?> |
|
24 | <?define templates.root.guid = {111509CB-4C96-4035-80BC-F66A99CD5ACB} ?> | |
25 | <?define templates.atom.guid = {45FCDF84-DE27-44f4-AF6C-C41F5994AE0D} ?> |
|
25 | <?define templates.atom.guid = {45FCDF84-DE27-44f4-AF6C-C41F5994AE0D} ?> | |
26 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> |
|
26 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> | |
27 | <?define templates.gitweb.guid = {5B8DF9A1-F475-45a5-B8F0-FCEA04A3B074} ?> |
|
27 | <?define templates.gitweb.guid = {5B8DF9A1-F475-45a5-B8F0-FCEA04A3B074} ?> | |
28 | <?define templates.monoblue.guid = {7BA492F4-98F3-4943-A981-0BFE1690CF6E} ?> |
|
28 | <?define templates.monoblue.guid = {7BA492F4-98F3-4943-A981-0BFE1690CF6E} ?> | |
29 | <?define templates.paper.guid = {294F69D5-EC96-4fa7-8569-DD76C9993F47} ?> |
|
29 | <?define templates.paper.guid = {294F69D5-EC96-4fa7-8569-DD76C9993F47} ?> | |
30 | <?define templates.raw.guid = {04DE03A2-FBFD-4c5f-8DEA-5436DDF4689D} ?> |
|
30 | <?define templates.raw.guid = {04DE03A2-FBFD-4c5f-8DEA-5436DDF4689D} ?> | |
31 | <?define templates.rss.guid = {A7D608DE-0CF6-44f4-AF1E-EE30CC237FDA} ?> |
|
31 | <?define templates.rss.guid = {A7D608DE-0CF6-44f4-AF1E-EE30CC237FDA} ?> | |
32 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> |
|
32 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> | |
33 | <?define templates.static.guid = {68C9F843-DE7E-480f-9DA2-D220B19D02C3} ?> |
|
33 | <?define templates.static.guid = {68C9F843-DE7E-480f-9DA2-D220B19D02C3} ?> | |
34 |
|
34 | |||
|
35 | <!-- mercurial.wxs --> | |||
|
36 | <?define ProductUpgradeCode = {A1CC6134-E945-4399-BE36-EB0017FDF7CF} ?> | |||
|
37 | ||||
|
38 | <?define ComponentMainExecutableGUID = {D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF} ?> | |||
|
39 | ||||
|
40 | <?define ReadMe.guid = {56A8E372-991D-4DCA-B91D-93D775974CF5} ?> | |||
|
41 | <?define COPYING.guid = {B7801DBA-1C49-4BF4-91AD-33C65F5C7895} ?> | |||
|
42 | <?define mercurial.rc.guid = {1D5FAEEE-7E6E-43B1-9F7F-802714316B15} ?> | |||
|
43 | <?define mergetools.rc.guid = {E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD} ?> | |||
|
44 | <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> | |||
|
45 | ||||
35 | </Include> |
|
46 | </Include> |
@@ -1,38 +1,32 | |||||
1 | <?xml version="1.0" encoding="utf-8"?> |
|
1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
|
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
3 |
|
3 | |||
4 | <?define hglocales = |
|
4 | <?define hglocales = | |
5 | da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW |
|
5 | da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW | |
6 | ?> |
|
6 | ?> | |
7 |
|
7 | |||
8 | <Fragment> |
|
8 | <Fragment> | |
9 | <ComponentGroup Id="localeFolder"> |
|
9 | <ComponentGroup Id="localeFolder"> | |
10 | <?foreach LOC in $(var.hglocales) ?> |
|
10 | <?foreach LOC in $(var.hglocales) ?> | |
11 | <ComponentRef Id="hg.locale.$(var.LOC)"/> |
|
11 | <ComponentRef Id="hg.locale.$(var.LOC)"/> | |
12 | <?endforeach?> |
|
12 | <?endforeach?> | |
13 | </ComponentGroup> |
|
13 | </ComponentGroup> | |
14 | </Fragment> |
|
14 | </Fragment> | |
15 |
|
15 | |||
16 | <Fragment> |
|
16 | <Fragment> | |
17 | <DirectoryRef Id="INSTALLDIR"> |
|
17 | <DirectoryRef Id="INSTALLDIR"> | |
18 |
<Directory Id="localedir" Name="locale" |
|
18 | <Directory Id="localedir" Name="locale" FileSource="$(var.SourceDir)"> | |
19 | </DirectoryRef> |
|
|||
20 | </Fragment> |
|
|||
21 |
|
||||
22 | <?foreach LOC in $(var.hglocales) ?> |
|
19 | <?foreach LOC in $(var.hglocales) ?> | |
23 | <Fragment> |
|
|||
24 | <DirectoryRef Id="localedir"> |
|
|||
25 | <Directory Id="hg.locale.$(var.LOC)" Name="$(var.LOC)"> |
|
20 | <Directory Id="hg.locale.$(var.LOC)" Name="$(var.LOC)"> | |
26 | <Directory Id="hg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> |
|
21 | <Directory Id="hg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> | |
27 | <Component Id="hg.locale.$(var.LOC)" Guid="*"> |
|
22 | <Component Id="hg.locale.$(var.LOC)" Guid="*"> | |
28 | <File Id="hg.mo.$(var.LOC)" KeyPath="yes" |
|
23 | <File Id="hg.mo.$(var.LOC)" Name="hg.mo" KeyPath="yes" /> | |
29 | Source="$(var.SourceDir)\$(var.LOC)\LC_MESSAGES\hg.mo" |
|
|||
30 | /> |
|
|||
31 | </Component> |
|
24 | </Component> | |
32 | </Directory> |
|
25 | </Directory> | |
33 | </Directory> |
|
26 | </Directory> | |
|
27 | <?endforeach?> | |||
|
28 | </Directory> | |||
34 |
|
|
29 | </DirectoryRef> | |
35 |
|
|
30 | </Fragment> | |
36 | <?endforeach?> |
|
|||
37 |
|
31 | |||
38 | </Wix> |
|
32 | </Wix> |
@@ -1,136 +1,144 | |||||
1 | <?xml version='1.0' encoding='windows-1252'?> |
|
1 | <?xml version='1.0' encoding='windows-1252'?> | |
2 | <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> |
|
2 | <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> | |
3 |
|
3 | |||
4 | <!-- Copyright 2010 Steve Borho <steve@borho.org> |
|
4 | <!-- Copyright 2010 Steve Borho <steve@borho.org> | |
5 |
|
5 | |||
6 | This software may be used and distributed according to the terms of the |
|
6 | This software may be used and distributed according to the terms of the | |
7 | GNU General Public License version 2 or any later version. --> |
|
7 | GNU General Public License version 2 or any later version. --> | |
8 |
|
8 | |||
9 | <?define ComponentMainExecutableGUID = D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF ?> |
|
9 | <?include guids.wxi ?> | |
10 | <?define ProductUpgradeCode = A1CC6134-E945-4399-BE36-EB0017FDF7CF ?> |
|
|||
11 |
|
10 | |||
12 | <Product Name='Mercurial $(var.Version)' Id='*' |
|
11 | <Product Id='*' | |
|
12 | Name='Mercurial $(var.Version)' | |||
13 | UpgradeCode='$(var.ProductUpgradeCode)' |
|
13 | UpgradeCode='$(var.ProductUpgradeCode)' | |
14 |
Language='1033' Codepage='1252' Version='$(var.Version)' |
|
14 | Language='1033' Codepage='1252' Version='$(var.Version)' | |
|
15 | Manufacturer='Matt Mackall and others'> | |||
15 |
|
16 | |||
16 | <Package Id='*' Keywords='Installer' Description="Mercurial distributed SCM (version $(var.Version))" |
|
17 | <Package Id='*' | |
17 | Comments='$(var.Comments)' Manufacturer='Matt Mackall and others.' |
|
18 | Keywords='Installer' | |
|
19 | Description="Mercurial distributed SCM (version $(var.Version))" | |||
|
20 | Comments='$(var.Comments)' | |||
|
21 | Manufacturer='Matt Mackall and others' | |||
18 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> |
|
22 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> | |
19 |
|
23 | |||
20 |
<Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' |
|
24 | <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' | |
|
25 | CompressionLevel='high' /> | |||
21 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> |
|
26 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> | |
22 |
|
27 | |||
23 |
<Condition Message='Mercurial requires Windows XP or higher' |
|
28 | <Condition Message='Mercurial requires Windows XP or higher' | |
|
29 | >VersionNT >= 501</Condition> | |||
24 |
|
30 | |||
25 | <Property Id="INSTALLDIR"> |
|
31 | <Property Id="INSTALLDIR"> | |
26 |
<ComponentSearch Id='SearchForMainExecutableComponent' |
|
32 | <ComponentSearch Id='SearchForMainExecutableComponent' | |
|
33 | Guid='$(var.ComponentMainExecutableGUID)' /> | |||
27 | </Property> |
|
34 | </Property> | |
28 |
|
35 | |||
29 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> |
|
36 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> | |
30 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> |
|
37 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> | |
31 | <Property Id='ARPHELPLINK'>http://mercurial.selenic.com/wiki/</Property> |
|
38 | <Property Id='ARPHELPLINK'>http://mercurial.selenic.com/wiki/</Property> | |
32 | <Property Id='ARPURLINFOABOUT'>http://mercurial.selenic.com/about/</Property> |
|
39 | <Property Id='ARPURLINFOABOUT'>http://mercurial.selenic.com/about/</Property> | |
33 | <Property Id='ARPURLUPDATEINFO'>http://mercurial.selenic.com/downloads/</Property> |
|
40 | <Property Id='ARPURLUPDATEINFO'>http://mercurial.selenic.com/downloads/</Property> | |
34 | <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property> |
|
41 | <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property> | |
35 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> |
|
42 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> | |
36 |
|
43 | |||
37 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> |
|
44 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> | |
38 | <Property Id='REINSTALLMODE'>amus</Property> |
|
45 | <Property Id='REINSTALLMODE'>amus</Property> | |
39 |
|
46 | |||
40 | <!--Auto-accept the license page--> |
|
47 | <!--Auto-accept the license page--> | |
41 | <Property Id='LicenseAccepted'>1</Property> |
|
48 | <Property Id='LicenseAccepted'>1</Property> | |
42 |
|
49 | |||
43 | <Directory Id='TARGETDIR' Name='SourceDir'> |
|
50 | <Directory Id='TARGETDIR' Name='SourceDir'> | |
44 | <Directory Id='ProgramFilesFolder' Name='PFiles'> |
|
51 | <Directory Id='ProgramFilesFolder' Name='PFiles'> | |
45 | <Directory Id='INSTALLDIR' Name='Mercurial'> |
|
52 | <Directory Id='INSTALLDIR' Name='Mercurial'> | |
46 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)'> |
|
53 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)'> | |
47 |
<File Id='hgEXE' Name='hg.exe' |
|
54 | <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> | |
48 |
<File Id='libraryZIP' Name='library.zip' |
|
55 | <File Id='libraryZIP' Name='library.zip' Source='dist\library.zip' /> | |
49 |
<File Id='pythonDLL' Name='python26.dll' |
|
56 | <File Id='pythonDLL' Name='python26.dll' Source='dist\python26.dll' /> | |
50 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" |
|
57 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" | |
51 | Permanent="no" Value="[INSTALLDIR]" Action="set" /> |
|
58 | Permanent="no" Value="[INSTALLDIR]" Action="set" /> | |
52 | </Component> |
|
59 | </Component> | |
53 |
<Component Id='ReadMe' Guid=' |
|
60 | <Component Id='ReadMe' Guid='$(var.ReadMe.guid)'> | |
54 |
<File Id='ReadMe' Name='ReadMe.html' |
|
61 | <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' | |
|
62 | KeyPath='yes'/> | |||
55 | </Component> |
|
63 | </Component> | |
56 |
<Component Id='COPYING' Guid=' |
|
64 | <Component Id='COPYING' Guid='$(var.COPYING.guid)'> | |
57 |
<File Id='COPYING' Name='COPYING.rtf' |
|
65 | <File Id='COPYING' Name='COPYING.rtf' Source='contrib\wix\COPYING.rtf' | |
|
66 | KeyPath='yes'/> | |||
58 | </Component> |
|
67 | </Component> | |
59 | <Directory Id='HGRCD' Name='hgrc.d'> |
|
68 | <Directory Id='HGRCD' Name='hgrc.d'> | |
60 |
<Component Id='mercurial.rc' Guid=' |
|
69 | <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)'> | |
61 |
<File Id='mercurial.rc' Name='Mercurial.rc' |
|
70 | <File Id='mercurial.rc' Name='Mercurial.rc' Source='contrib\win32\mercurial.ini' | |
62 | ReadOnly='yes'/> |
|
71 | ReadOnly='yes' KeyPath='yes'/> | |
63 | </Component> |
|
72 | </Component> | |
64 |
<Component Id='mergetools.rc' Guid=' |
|
73 | <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)'> | |
65 |
<File Id='mergetools.rc' Name='MergeTools.rc' |
|
74 | <File Id='mergetools.rc' Name='MergeTools.rc' Source='contrib\mergetools.hgrc' | |
66 | ReadOnly='yes'/> |
|
75 | ReadOnly='yes' KeyPath='yes'/> | |
67 | </Component> |
|
76 | </Component> | |
68 | </Directory> |
|
77 | </Directory> | |
69 | </Directory> |
|
78 | </Directory> | |
70 | </Directory> |
|
79 | </Directory> | |
71 |
|
80 | |||
72 | <Directory Id="ProgramMenuFolder" Name="Programs"> |
|
81 | <Directory Id="ProgramMenuFolder" Name="Programs"> | |
73 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> |
|
82 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> | |
74 |
<Component Id="ProgramMenuDir" Guid=" |
|
83 | <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)"> | |
75 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> |
|
84 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> | |
76 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' |
|
85 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' | |
77 | Value='[INSTALLDIR]' KeyPath='yes' /> |
|
86 | Value='[INSTALLDIR]' KeyPath='yes' /> | |
78 |
<Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' |
|
87 | <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' | |
79 | Icon="hgIcon.ico" IconIndex='0' /> |
|
88 | Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' /> | |
80 | </Component> |
|
89 | </Component> | |
81 | </Directory> |
|
90 | </Directory> | |
82 | </Directory> |
|
91 | </Directory> | |
83 |
|
92 | |||
84 | <Directory Id="DesktopFolder" Name="Desktop" /> |
|
|||
85 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
93 | <Merge Id='VCRuntime' DiskId='1' Language='1033' | |
86 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> |
|
94 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> | |
87 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
95 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' | |
88 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> |
|
96 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> | |
89 | </Directory> |
|
97 | </Directory> | |
90 |
|
98 | |||
91 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' |
|
99 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' | |
92 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > |
|
100 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > | |
93 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' |
|
101 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' | |
94 | Level='1' Absent='disallow' > |
|
102 | Level='1' Absent='disallow' > | |
95 | <ComponentRef Id='MainExecutable' /> |
|
103 | <ComponentRef Id='MainExecutable' /> | |
96 | <ComponentRef Id='ProgramMenuDir' /> |
|
104 | <ComponentRef Id='ProgramMenuDir' /> | |
97 | <ComponentRef Id='ReadMe' /> |
|
105 | <ComponentRef Id='ReadMe' /> | |
98 | <ComponentRef Id='COPYING' /> |
|
106 | <ComponentRef Id='COPYING' /> | |
99 | <ComponentRef Id='mercurial.rc' /> |
|
107 | <ComponentRef Id='mercurial.rc' /> | |
100 | <ComponentRef Id='mergetools.rc' /> |
|
108 | <ComponentRef Id='mergetools.rc' /> | |
101 | <ComponentRef Id='helpFolder' /> |
|
109 | <ComponentRef Id='helpFolder' /> | |
102 | <ComponentGroupRef Id='templatesFolder' /> |
|
110 | <ComponentGroupRef Id='templatesFolder' /> | |
103 | <MergeRef Id='VCRuntime' /> |
|
111 | <MergeRef Id='VCRuntime' /> | |
104 | <MergeRef Id='VCRuntimePolicy' /> |
|
112 | <MergeRef Id='VCRuntimePolicy' /> | |
105 | </Feature> |
|
113 | </Feature> | |
106 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> |
|
114 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> | |
107 | <ComponentGroupRef Id='localeFolder' /> |
|
115 | <ComponentGroupRef Id='localeFolder' /> | |
108 | <ComponentRef Id='i18nFolder' /> |
|
116 | <ComponentRef Id='i18nFolder' /> | |
109 | </Feature> |
|
117 | </Feature> | |
110 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> |
|
118 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> | |
111 | <ComponentGroupRef Id='docFolder' /> |
|
119 | <ComponentGroupRef Id='docFolder' /> | |
112 | </Feature> |
|
120 | </Feature> | |
113 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> |
|
121 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> | |
114 | <ComponentGroupRef Id='contribFolder' /> |
|
122 | <ComponentGroupRef Id='contribFolder' /> | |
115 | </Feature> |
|
123 | </Feature> | |
116 | </Feature> |
|
124 | </Feature> | |
117 |
|
125 | |||
118 | <UIRef Id="WixUI_FeatureTree" /> |
|
126 | <UIRef Id="WixUI_FeatureTree" /> | |
119 | <UIRef Id="WixUI_ErrorProgressText" /> |
|
127 | <UIRef Id="WixUI_ErrorProgressText" /> | |
120 |
|
128 | |||
121 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> |
|
129 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> | |
122 |
|
130 | |||
123 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> |
|
131 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> | |
124 |
|
132 | |||
125 | <Upgrade Id='$(var.ProductUpgradeCode)'> |
|
133 | <Upgrade Id='$(var.ProductUpgradeCode)'> | |
126 | <UpgradeVersion |
|
134 | <UpgradeVersion | |
127 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' |
|
135 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' | |
128 | Property='INSTALLEDMERCURIALPRODUCTS' /> |
|
136 | Property='INSTALLEDMERCURIALPRODUCTS' /> | |
129 | </Upgrade> |
|
137 | </Upgrade> | |
130 |
|
138 | |||
131 | <InstallExecuteSequence> |
|
139 | <InstallExecuteSequence> | |
132 | <RemoveExistingProducts After='InstallInitialize'/> |
|
140 | <RemoveExistingProducts After='InstallInitialize'/> | |
133 | </InstallExecuteSequence> |
|
141 | </InstallExecuteSequence> | |
134 |
|
142 | |||
135 | </Product> |
|
143 | </Product> | |
136 | </Wix> |
|
144 | </Wix> |
General Comments 0
You need to be logged in to leave comments.
Login now