Show More
@@ -1,51 +1,52 b'' | |||||
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 = {4E11FFC2-E2F7-482A-8460-9394B5489F02} ?> |
|
8 | <?define contrib.guid = {4E11FFC2-E2F7-482A-8460-9394B5489F02} ?> | |
9 | <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?> |
|
9 | <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?> | |
10 |
|
10 | |||
11 | <!-- dist.wxs --> |
|
11 | <!-- dist.wxs --> | |
12 | <?define dist.guid = {CE405FE6-CD1E-4873-9C9A-7683AE5A3D90} ?> |
|
12 | <?define dist.guid = {CE405FE6-CD1E-4873-9C9A-7683AE5A3D90} ?> | |
13 | <?define lib.guid = {91D53B14-E924-432A-ACA2-65F9B3F7C56A} ?> |
|
13 | <?define lib.guid = {91D53B14-E924-432A-ACA2-65F9B3F7C56A} ?> | |
14 |
|
14 | |||
15 | <!-- doc.wxs --> |
|
15 | <!-- doc.wxs --> | |
16 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> |
|
16 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> | |
17 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> |
|
17 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> | |
18 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> |
|
18 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> | |
19 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> |
|
19 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> | |
20 |
|
20 | |||
21 | <!-- help.wxs --> |
|
21 | <!-- help.wxs --> | |
22 |
<?define help |
|
22 | <?define help.root.guid = {9FA957DB-6DFE-44f2-AD03-293B2791CF17} ?> | |
|
23 | <?define help.internals.guid = {2DD7669D-0DB8-4C39-9806-78E6475E7ACC} ?> | |||
23 |
|
24 | |||
24 | <!-- i18n.wxs --> |
|
25 | <!-- i18n.wxs --> | |
25 | <?define i18nFolder.guid = {1BF8026D-CF7C-4174-AEE6-D6B7BF119248} ?> |
|
26 | <?define i18nFolder.guid = {1BF8026D-CF7C-4174-AEE6-D6B7BF119248} ?> | |
26 |
|
27 | |||
27 | <!-- templates.wxs --> |
|
28 | <!-- templates.wxs --> | |
28 | <?define templates.root.guid = {437FD55C-7756-4EA0-87E5-FDBE75DC8595} ?> |
|
29 | <?define templates.root.guid = {437FD55C-7756-4EA0-87E5-FDBE75DC8595} ?> | |
29 | <?define templates.atom.guid = {D30E14A5-8AF0-4268-8B00-00BEE9E09E39} ?> |
|
30 | <?define templates.atom.guid = {D30E14A5-8AF0-4268-8B00-00BEE9E09E39} ?> | |
30 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> |
|
31 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> | |
31 | <?define templates.gitweb.guid = {827334AF-1EFD-421B-962C-5660A068F612} ?> |
|
32 | <?define templates.gitweb.guid = {827334AF-1EFD-421B-962C-5660A068F612} ?> | |
32 | <?define templates.json.guid = {F535BE7A-EC34-46E0-B9BE-013F3DBAFB19} ?> |
|
33 | <?define templates.json.guid = {F535BE7A-EC34-46E0-B9BE-013F3DBAFB19} ?> | |
33 | <?define templates.monoblue.guid = {8060A1E4-BD4C-453E-92CB-9536DC44A9E3} ?> |
|
34 | <?define templates.monoblue.guid = {8060A1E4-BD4C-453E-92CB-9536DC44A9E3} ?> | |
34 | <?define templates.paper.guid = {61AB1DE9-645F-46ED-8AF8-0CF02267FFBB} ?> |
|
35 | <?define templates.paper.guid = {61AB1DE9-645F-46ED-8AF8-0CF02267FFBB} ?> | |
35 | <?define templates.raw.guid = {834DF8D7-9784-43A6-851D-A96CE1B3575B} ?> |
|
36 | <?define templates.raw.guid = {834DF8D7-9784-43A6-851D-A96CE1B3575B} ?> | |
36 | <?define templates.rss.guid = {9338FA09-E128-4B1C-B723-1142DBD09E14} ?> |
|
37 | <?define templates.rss.guid = {9338FA09-E128-4B1C-B723-1142DBD09E14} ?> | |
37 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> |
|
38 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> | |
38 | <?define templates.static.guid = {6B3D7C24-98DA-4B67-9F18-35F77357B0B4} ?> |
|
39 | <?define templates.static.guid = {6B3D7C24-98DA-4B67-9F18-35F77357B0B4} ?> | |
39 |
|
40 | |||
40 | <!-- mercurial.wxs --> |
|
41 | <!-- mercurial.wxs --> | |
41 | <?define ProductUpgradeCode = {A1CC6134-E945-4399-BE36-EB0017FDF7CF} ?> |
|
42 | <?define ProductUpgradeCode = {A1CC6134-E945-4399-BE36-EB0017FDF7CF} ?> | |
42 |
|
43 | |||
43 | <?define ComponentMainExecutableGUID = {D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF} ?> |
|
44 | <?define ComponentMainExecutableGUID = {D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF} ?> | |
44 |
|
45 | |||
45 | <?define ReadMe.guid = {56A8E372-991D-4DCA-B91D-93D775974CF5} ?> |
|
46 | <?define ReadMe.guid = {56A8E372-991D-4DCA-B91D-93D775974CF5} ?> | |
46 | <?define COPYING.guid = {B7801DBA-1C49-4BF4-91AD-33C65F5C7895} ?> |
|
47 | <?define COPYING.guid = {B7801DBA-1C49-4BF4-91AD-33C65F5C7895} ?> | |
47 | <?define mercurial.rc.guid = {1D5FAEEE-7E6E-43B1-9F7F-802714316B15} ?> |
|
48 | <?define mercurial.rc.guid = {1D5FAEEE-7E6E-43B1-9F7F-802714316B15} ?> | |
48 | <?define mergetools.rc.guid = {E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD} ?> |
|
49 | <?define mergetools.rc.guid = {E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD} ?> | |
49 | <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> |
|
50 | <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> | |
50 |
|
51 | |||
51 | </Include> |
|
52 | </Include> |
@@ -1,35 +1,51 b'' | |||||
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 | <?include defines.wxi ?> |
|
5 | <?include defines.wxi ?> | |
6 |
|
6 | |||
7 | <Fragment> |
|
7 | <Fragment> | |
|
8 | <ComponentGroup Id='helpFolder'> | |||
|
9 | <ComponentRef Id='help.root' /> | |||
|
10 | <ComponentRef Id='help.internals' /> | |||
|
11 | </ComponentGroup> | |||
|
12 | </Fragment> | |||
|
13 | ||||
|
14 | <Fragment> | |||
8 | <DirectoryRef Id="INSTALLDIR"> |
|
15 | <DirectoryRef Id="INSTALLDIR"> | |
9 | <Directory Id="helpdir" Name="help" FileSource="$(var.SourceDir)"> |
|
16 | <Directory Id="helpdir" Name="help" FileSource="$(var.SourceDir)"> | |
10 |
<Component Id="help |
|
17 | <Component Id="help.root" Guid="$(var.help.root.guid)" Win64='$(var.IsX64)'> | |
11 | <File Name="config.txt" KeyPath="yes" /> |
|
18 | <File Name="config.txt" KeyPath="yes" /> | |
12 | <File Name="dates.txt" /> |
|
19 | <File Name="dates.txt" /> | |
13 | <File Name="diffs.txt" /> |
|
20 | <File Name="diffs.txt" /> | |
14 | <File Name="environment.txt" /> |
|
21 | <File Name="environment.txt" /> | |
15 | <File Name="extensions.txt" /> |
|
22 | <File Name="extensions.txt" /> | |
16 | <File Name="filesets.txt" /> |
|
23 | <File Name="filesets.txt" /> | |
17 | <File Name="glossary.txt" /> |
|
24 | <File Name="glossary.txt" /> | |
18 | <File Name="hgignore.txt" /> |
|
25 | <File Name="hgignore.txt" /> | |
19 | <File Name="hgweb.txt" /> |
|
26 | <File Name="hgweb.txt" /> | |
20 | <File Name="merge-tools.txt" /> |
|
27 | <File Name="merge-tools.txt" /> | |
21 | <File Name="multirevs.txt" /> |
|
28 | <File Name="multirevs.txt" /> | |
22 | <File Name="patterns.txt" /> |
|
29 | <File Name="patterns.txt" /> | |
23 | <File Name="phases.txt" /> |
|
30 | <File Name="phases.txt" /> | |
24 | <File Name="revisions.txt" /> |
|
31 | <File Name="revisions.txt" /> | |
25 | <File Name="revsets.txt" /> |
|
32 | <File Name="revsets.txt" /> | |
26 | <File Name="scripting.txt" /> |
|
33 | <File Name="scripting.txt" /> | |
27 | <File Name="subrepos.txt" /> |
|
34 | <File Name="subrepos.txt" /> | |
28 | <File Name="templates.txt" /> |
|
35 | <File Name="templates.txt" /> | |
29 | <File Name="urls.txt" /> |
|
36 | <File Name="urls.txt" /> | |
30 | </Component> |
|
37 | </Component> | |
|
38 | ||||
|
39 | <Directory Id="help.internaldir" Name="internals"> | |||
|
40 | <Component Id="help.internals" Guid="$(var.help.internals.guid)" Win64='$(var.IsX64)'> | |||
|
41 | <File Id="internals.bundles.txt" Name="bundles.txt" KeyPath="yes" /> | |||
|
42 | <File Id="internals.changegroups.txt" Name="changegroups.txt" /> | |||
|
43 | <File Id="internals.revlogs.txt" Name="revlogs.txt" /> | |||
|
44 | </Component> | |||
|
45 | </Directory> | |||
|
46 | ||||
31 | </Directory> |
|
47 | </Directory> | |
32 | </DirectoryRef> |
|
48 | </DirectoryRef> | |
33 | </Fragment> |
|
49 | </Fragment> | |
34 |
|
50 | |||
35 | </Wix> |
|
51 | </Wix> |
@@ -1,162 +1,162 b'' | |||||
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 | <?include guids.wxi ?> |
|
9 | <?include guids.wxi ?> | |
10 | <?include defines.wxi ?> |
|
10 | <?include defines.wxi ?> | |
11 |
|
11 | |||
12 | <?if $(var.Platform) = "x64" ?> |
|
12 | <?if $(var.Platform) = "x64" ?> | |
13 | <?define PFolder = ProgramFiles64Folder ?> |
|
13 | <?define PFolder = ProgramFiles64Folder ?> | |
14 | <?else?> |
|
14 | <?else?> | |
15 | <?define PFolder = ProgramFilesFolder ?> |
|
15 | <?define PFolder = ProgramFilesFolder ?> | |
16 | <?endif?> |
|
16 | <?endif?> | |
17 |
|
17 | |||
18 | <Product Id='*' |
|
18 | <Product Id='*' | |
19 | Name='Mercurial $(var.Version) ($(var.Platform))' |
|
19 | Name='Mercurial $(var.Version) ($(var.Platform))' | |
20 | UpgradeCode='$(var.ProductUpgradeCode)' |
|
20 | UpgradeCode='$(var.ProductUpgradeCode)' | |
21 | Language='1033' Codepage='1252' Version='$(var.Version)' |
|
21 | Language='1033' Codepage='1252' Version='$(var.Version)' | |
22 | Manufacturer='Matt Mackall and others'> |
|
22 | Manufacturer='Matt Mackall and others'> | |
23 |
|
23 | |||
24 | <Package Id='*' |
|
24 | <Package Id='*' | |
25 | Keywords='Installer' |
|
25 | Keywords='Installer' | |
26 | Description="Mercurial distributed SCM (version $(var.Version))" |
|
26 | Description="Mercurial distributed SCM (version $(var.Version))" | |
27 | Comments='$(var.Comments)' |
|
27 | Comments='$(var.Comments)' | |
28 | Platform='$(var.Platform)' |
|
28 | Platform='$(var.Platform)' | |
29 | Manufacturer='Matt Mackall and others' |
|
29 | Manufacturer='Matt Mackall and others' | |
30 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> |
|
30 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> | |
31 |
|
31 | |||
32 | <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' |
|
32 | <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' | |
33 | CompressionLevel='high' /> |
|
33 | CompressionLevel='high' /> | |
34 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> |
|
34 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> | |
35 |
|
35 | |||
36 | <Condition Message='Mercurial MSI installers require Windows XP or higher'> |
|
36 | <Condition Message='Mercurial MSI installers require Windows XP or higher'> | |
37 | VersionNT >= 501 |
|
37 | VersionNT >= 501 | |
38 | </Condition> |
|
38 | </Condition> | |
39 |
|
39 | |||
40 | <Property Id="INSTALLDIR"> |
|
40 | <Property Id="INSTALLDIR"> | |
41 | <ComponentSearch Id='SearchForMainExecutableComponent' |
|
41 | <ComponentSearch Id='SearchForMainExecutableComponent' | |
42 | Guid='$(var.ComponentMainExecutableGUID)' /> |
|
42 | Guid='$(var.ComponentMainExecutableGUID)' /> | |
43 | </Property> |
|
43 | </Property> | |
44 |
|
44 | |||
45 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> |
|
45 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> | |
46 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> |
|
46 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> | |
47 | <Property Id='ARPHELPLINK'>https://mercurial-scm.org/wiki/</Property> |
|
47 | <Property Id='ARPHELPLINK'>https://mercurial-scm.org/wiki/</Property> | |
48 | <Property Id='ARPURLINFOABOUT'>https://mercurial-scm.org/about/</Property> |
|
48 | <Property Id='ARPURLINFOABOUT'>https://mercurial-scm.org/about/</Property> | |
49 | <Property Id='ARPURLUPDATEINFO'>https://mercurial-scm.org/downloads/</Property> |
|
49 | <Property Id='ARPURLUPDATEINFO'>https://mercurial-scm.org/downloads/</Property> | |
50 | <Property Id='ARPHELPTELEPHONE'>https://mercurial-scm.org/wiki/Support</Property> |
|
50 | <Property Id='ARPHELPTELEPHONE'>https://mercurial-scm.org/wiki/Support</Property> | |
51 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> |
|
51 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> | |
52 |
|
52 | |||
53 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> |
|
53 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> | |
54 | <Property Id='REINSTALLMODE'>amus</Property> |
|
54 | <Property Id='REINSTALLMODE'>amus</Property> | |
55 |
|
55 | |||
56 | <!--Auto-accept the license page--> |
|
56 | <!--Auto-accept the license page--> | |
57 | <Property Id='LicenseAccepted'>1</Property> |
|
57 | <Property Id='LicenseAccepted'>1</Property> | |
58 |
|
58 | |||
59 | <Directory Id='TARGETDIR' Name='SourceDir'> |
|
59 | <Directory Id='TARGETDIR' Name='SourceDir'> | |
60 | <Directory Id='$(var.PFolder)' Name='PFiles'> |
|
60 | <Directory Id='$(var.PFolder)' Name='PFiles'> | |
61 | <Directory Id='INSTALLDIR' Name='Mercurial'> |
|
61 | <Directory Id='INSTALLDIR' Name='Mercurial'> | |
62 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)' Win64='$(var.IsX64)'> |
|
62 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)' Win64='$(var.IsX64)'> | |
63 | <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> |
|
63 | <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> | |
64 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" |
|
64 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" | |
65 | Permanent="no" Value="[INSTALLDIR]" Action="set" /> |
|
65 | Permanent="no" Value="[INSTALLDIR]" Action="set" /> | |
66 | </Component> |
|
66 | </Component> | |
67 | <Component Id='ReadMe' Guid='$(var.ReadMe.guid)' Win64='$(var.IsX64)'> |
|
67 | <Component Id='ReadMe' Guid='$(var.ReadMe.guid)' Win64='$(var.IsX64)'> | |
68 | <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' |
|
68 | <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' | |
69 | KeyPath='yes'/> |
|
69 | KeyPath='yes'/> | |
70 | </Component> |
|
70 | </Component> | |
71 | <Component Id='COPYING' Guid='$(var.COPYING.guid)' Win64='$(var.IsX64)'> |
|
71 | <Component Id='COPYING' Guid='$(var.COPYING.guid)' Win64='$(var.IsX64)'> | |
72 | <File Id='COPYING' Name='COPYING.rtf' Source='contrib\wix\COPYING.rtf' |
|
72 | <File Id='COPYING' Name='COPYING.rtf' Source='contrib\wix\COPYING.rtf' | |
73 | KeyPath='yes'/> |
|
73 | KeyPath='yes'/> | |
74 | </Component> |
|
74 | </Component> | |
75 |
|
75 | |||
76 | <Directory Id='HGRCD' Name='hgrc.d'> |
|
76 | <Directory Id='HGRCD' Name='hgrc.d'> | |
77 | <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)' Win64='$(var.IsX64)'> |
|
77 | <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)' Win64='$(var.IsX64)'> | |
78 | <File Id='mercurial.rc' Name='Mercurial.rc' Source='contrib\win32\mercurial.ini' |
|
78 | <File Id='mercurial.rc' Name='Mercurial.rc' Source='contrib\win32\mercurial.ini' | |
79 | ReadOnly='yes' KeyPath='yes'/> |
|
79 | ReadOnly='yes' KeyPath='yes'/> | |
80 | </Component> |
|
80 | </Component> | |
81 | <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)' Win64='$(var.IsX64)'> |
|
81 | <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)' Win64='$(var.IsX64)'> | |
82 | <File Id='mergetools.rc' Name='MergeTools.rc' Source='mercurial\default.d\mergetools.rc' |
|
82 | <File Id='mergetools.rc' Name='MergeTools.rc' Source='mercurial\default.d\mergetools.rc' | |
83 | ReadOnly='yes' KeyPath='yes'/> |
|
83 | ReadOnly='yes' KeyPath='yes'/> | |
84 | </Component> |
|
84 | </Component> | |
85 | </Directory> |
|
85 | </Directory> | |
86 |
|
86 | |||
87 | </Directory> |
|
87 | </Directory> | |
88 | </Directory> |
|
88 | </Directory> | |
89 |
|
89 | |||
90 | <Directory Id="ProgramMenuFolder" Name="Programs"> |
|
90 | <Directory Id="ProgramMenuFolder" Name="Programs"> | |
91 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> |
|
91 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> | |
92 | <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)" Win64='$(var.IsX64)'> |
|
92 | <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)" Win64='$(var.IsX64)'> | |
93 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> |
|
93 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> | |
94 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' |
|
94 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' | |
95 | Value='[INSTALLDIR]' KeyPath='yes' /> |
|
95 | Value='[INSTALLDIR]' KeyPath='yes' /> | |
96 | <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' |
|
96 | <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' | |
97 | Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' /> |
|
97 | Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' /> | |
98 | </Component> |
|
98 | </Component> | |
99 | </Directory> |
|
99 | </Directory> | |
100 | </Directory> |
|
100 | </Directory> | |
101 |
|
101 | |||
102 | <?if $(var.Platform) = "x86" ?> |
|
102 | <?if $(var.Platform) = "x86" ?> | |
103 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
103 | <Merge Id='VCRuntime' DiskId='1' Language='1033' | |
104 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> |
|
104 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> | |
105 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
105 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' | |
106 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> |
|
106 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> | |
107 | <?else?> |
|
107 | <?else?> | |
108 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
108 | <Merge Id='VCRuntime' DiskId='1' Language='1033' | |
109 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x64_msm.msm' /> |
|
109 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x64_msm.msm' /> | |
110 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
110 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' | |
111 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x64_msm.msm' /> |
|
111 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x64_msm.msm' /> | |
112 | <?endif?> |
|
112 | <?endif?> | |
113 | </Directory> |
|
113 | </Directory> | |
114 |
|
114 | |||
115 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' |
|
115 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' | |
116 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > |
|
116 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > | |
117 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' |
|
117 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' | |
118 | Level='1' Absent='disallow' > |
|
118 | Level='1' Absent='disallow' > | |
119 | <ComponentRef Id='MainExecutable' /> |
|
119 | <ComponentRef Id='MainExecutable' /> | |
120 | <ComponentRef Id='distOutput' /> |
|
120 | <ComponentRef Id='distOutput' /> | |
121 | <ComponentRef Id='libOutput' /> |
|
121 | <ComponentRef Id='libOutput' /> | |
122 | <ComponentRef Id='ProgramMenuDir' /> |
|
122 | <ComponentRef Id='ProgramMenuDir' /> | |
123 | <ComponentRef Id='ReadMe' /> |
|
123 | <ComponentRef Id='ReadMe' /> | |
124 | <ComponentRef Id='COPYING' /> |
|
124 | <ComponentRef Id='COPYING' /> | |
125 | <ComponentRef Id='mercurial.rc' /> |
|
125 | <ComponentRef Id='mercurial.rc' /> | |
126 | <ComponentRef Id='mergetools.rc' /> |
|
126 | <ComponentRef Id='mergetools.rc' /> | |
127 | <ComponentRef Id='helpFolder' /> |
|
127 | <ComponentGroupRef Id='helpFolder' /> | |
128 | <ComponentGroupRef Id='templatesFolder' /> |
|
128 | <ComponentGroupRef Id='templatesFolder' /> | |
129 | <MergeRef Id='VCRuntime' /> |
|
129 | <MergeRef Id='VCRuntime' /> | |
130 | <MergeRef Id='VCRuntimePolicy' /> |
|
130 | <MergeRef Id='VCRuntimePolicy' /> | |
131 | </Feature> |
|
131 | </Feature> | |
132 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> |
|
132 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> | |
133 | <ComponentGroupRef Id='localeFolder' /> |
|
133 | <ComponentGroupRef Id='localeFolder' /> | |
134 | <ComponentRef Id='i18nFolder' /> |
|
134 | <ComponentRef Id='i18nFolder' /> | |
135 | </Feature> |
|
135 | </Feature> | |
136 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> |
|
136 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> | |
137 | <ComponentGroupRef Id='docFolder' /> |
|
137 | <ComponentGroupRef Id='docFolder' /> | |
138 | </Feature> |
|
138 | </Feature> | |
139 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> |
|
139 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> | |
140 | <ComponentGroupRef Id='contribFolder' /> |
|
140 | <ComponentGroupRef Id='contribFolder' /> | |
141 | </Feature> |
|
141 | </Feature> | |
142 | </Feature> |
|
142 | </Feature> | |
143 |
|
143 | |||
144 | <UIRef Id="WixUI_FeatureTree" /> |
|
144 | <UIRef Id="WixUI_FeatureTree" /> | |
145 | <UIRef Id="WixUI_ErrorProgressText" /> |
|
145 | <UIRef Id="WixUI_ErrorProgressText" /> | |
146 |
|
146 | |||
147 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> |
|
147 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> | |
148 |
|
148 | |||
149 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> |
|
149 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> | |
150 |
|
150 | |||
151 | <Upgrade Id='$(var.ProductUpgradeCode)'> |
|
151 | <Upgrade Id='$(var.ProductUpgradeCode)'> | |
152 | <UpgradeVersion |
|
152 | <UpgradeVersion | |
153 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' |
|
153 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' | |
154 | Property='INSTALLEDMERCURIALPRODUCTS' /> |
|
154 | Property='INSTALLEDMERCURIALPRODUCTS' /> | |
155 | </Upgrade> |
|
155 | </Upgrade> | |
156 |
|
156 | |||
157 | <InstallExecuteSequence> |
|
157 | <InstallExecuteSequence> | |
158 | <RemoveExistingProducts After='InstallInitialize'/> |
|
158 | <RemoveExistingProducts After='InstallInitialize'/> | |
159 | </InstallExecuteSequence> |
|
159 | </InstallExecuteSequence> | |
160 |
|
160 | |||
161 | </Product> |
|
161 | </Product> | |
162 | </Wix> |
|
162 | </Wix> |
@@ -1,114 +1,111 b'' | |||||
1 | hg debuginstall |
|
1 | hg debuginstall | |
2 | $ hg debuginstall |
|
2 | $ hg debuginstall | |
3 | checking encoding (ascii)... |
|
3 | checking encoding (ascii)... | |
4 | checking Python executable (*) (glob) |
|
4 | checking Python executable (*) (glob) | |
5 | checking Python version (2.*) (glob) |
|
5 | checking Python version (2.*) (glob) | |
6 | checking Python lib (*lib*)... (glob) |
|
6 | checking Python lib (*lib*)... (glob) | |
7 | checking installed modules (*mercurial)... (glob) |
|
7 | checking installed modules (*mercurial)... (glob) | |
8 | checking templates (*mercurial?templates)... (glob) |
|
8 | checking templates (*mercurial?templates)... (glob) | |
9 | checking commit editor... |
|
9 | checking commit editor... | |
10 | checking username... |
|
10 | checking username... | |
11 | no problems detected |
|
11 | no problems detected | |
12 |
|
12 | |||
13 | hg debuginstall with no username |
|
13 | hg debuginstall with no username | |
14 | $ HGUSER= hg debuginstall |
|
14 | $ HGUSER= hg debuginstall | |
15 | checking encoding (ascii)... |
|
15 | checking encoding (ascii)... | |
16 | checking Python executable (*) (glob) |
|
16 | checking Python executable (*) (glob) | |
17 | checking Python version (2.*) (glob) |
|
17 | checking Python version (2.*) (glob) | |
18 | checking Python lib (*lib*)... (glob) |
|
18 | checking Python lib (*lib*)... (glob) | |
19 | checking installed modules (*mercurial)... (glob) |
|
19 | checking installed modules (*mercurial)... (glob) | |
20 | checking templates (*mercurial?templates)... (glob) |
|
20 | checking templates (*mercurial?templates)... (glob) | |
21 | checking commit editor... |
|
21 | checking commit editor... | |
22 | checking username... |
|
22 | checking username... | |
23 | no username supplied |
|
23 | no username supplied | |
24 | (specify a username in your configuration file) |
|
24 | (specify a username in your configuration file) | |
25 | 1 problems detected, please check your install! |
|
25 | 1 problems detected, please check your install! | |
26 | [1] |
|
26 | [1] | |
27 |
|
27 | |||
28 | path variables are expanded (~ is the same as $TESTTMP) |
|
28 | path variables are expanded (~ is the same as $TESTTMP) | |
29 | $ mkdir tools |
|
29 | $ mkdir tools | |
30 | $ touch tools/testeditor.exe |
|
30 | $ touch tools/testeditor.exe | |
31 | #if execbit |
|
31 | #if execbit | |
32 | $ chmod 755 tools/testeditor.exe |
|
32 | $ chmod 755 tools/testeditor.exe | |
33 | #endif |
|
33 | #endif | |
34 | $ hg debuginstall --config ui.editor=~/tools/testeditor.exe |
|
34 | $ hg debuginstall --config ui.editor=~/tools/testeditor.exe | |
35 | checking encoding (ascii)... |
|
35 | checking encoding (ascii)... | |
36 | checking Python executable (*) (glob) |
|
36 | checking Python executable (*) (glob) | |
37 | checking Python version (*) (glob) |
|
37 | checking Python version (*) (glob) | |
38 | checking Python lib (*lib*)... (glob) |
|
38 | checking Python lib (*lib*)... (glob) | |
39 | checking installed modules (*mercurial)... (glob) |
|
39 | checking installed modules (*mercurial)... (glob) | |
40 | checking templates (*mercurial?templates)... (glob) |
|
40 | checking templates (*mercurial?templates)... (glob) | |
41 | checking commit editor... |
|
41 | checking commit editor... | |
42 | checking username... |
|
42 | checking username... | |
43 | no problems detected |
|
43 | no problems detected | |
44 |
|
44 | |||
45 | #if test-repo |
|
45 | #if test-repo | |
46 | $ cat >> wixxml.py << EOF |
|
46 | $ cat >> wixxml.py << EOF | |
47 | > import os, subprocess, sys |
|
47 | > import os, subprocess, sys | |
48 | > import xml.etree.ElementTree as ET |
|
48 | > import xml.etree.ElementTree as ET | |
49 | > |
|
49 | > | |
50 | > # MSYS mangles the path if it expands $TESTDIR |
|
50 | > # MSYS mangles the path if it expands $TESTDIR | |
51 | > testdir = os.environ['TESTDIR'] |
|
51 | > testdir = os.environ['TESTDIR'] | |
52 | > ns = {'wix' : 'http://schemas.microsoft.com/wix/2006/wi'} |
|
52 | > ns = {'wix' : 'http://schemas.microsoft.com/wix/2006/wi'} | |
53 | > |
|
53 | > | |
54 | > def directory(node, relpath): |
|
54 | > def directory(node, relpath): | |
55 | > '''generator of files in the xml node, rooted at relpath''' |
|
55 | > '''generator of files in the xml node, rooted at relpath''' | |
56 | > dirs = node.findall('./{%(wix)s}Directory' % ns) |
|
56 | > dirs = node.findall('./{%(wix)s}Directory' % ns) | |
57 | > |
|
57 | > | |
58 | > for d in dirs: |
|
58 | > for d in dirs: | |
59 | > for subfile in directory(d, relpath + d.attrib['Name'] + '/'): |
|
59 | > for subfile in directory(d, relpath + d.attrib['Name'] + '/'): | |
60 | > yield subfile |
|
60 | > yield subfile | |
61 | > |
|
61 | > | |
62 | > files = node.findall('./{%(wix)s}Component/{%(wix)s}File' % ns) |
|
62 | > files = node.findall('./{%(wix)s}Component/{%(wix)s}File' % ns) | |
63 | > |
|
63 | > | |
64 | > for f in files: |
|
64 | > for f in files: | |
65 | > yield relpath + f.attrib['Name'] |
|
65 | > yield relpath + f.attrib['Name'] | |
66 | > |
|
66 | > | |
67 | > def hgdirectory(relpath): |
|
67 | > def hgdirectory(relpath): | |
68 | > '''generator of tracked files, rooted at relpath''' |
|
68 | > '''generator of tracked files, rooted at relpath''' | |
69 | > hgdir = "%s/../mercurial" % (testdir) |
|
69 | > hgdir = "%s/../mercurial" % (testdir) | |
70 | > args = ['hg', '--cwd', hgdir, 'files', relpath] |
|
70 | > args = ['hg', '--cwd', hgdir, 'files', relpath] | |
71 | > proc = subprocess.Popen(args, stdout=subprocess.PIPE, |
|
71 | > proc = subprocess.Popen(args, stdout=subprocess.PIPE, | |
72 | > stderr=subprocess.PIPE) |
|
72 | > stderr=subprocess.PIPE) | |
73 | > output = proc.communicate()[0] |
|
73 | > output = proc.communicate()[0] | |
74 | > |
|
74 | > | |
75 | > slash = '/' |
|
75 | > slash = '/' | |
76 | > for line in output.splitlines(): |
|
76 | > for line in output.splitlines(): | |
77 | > if os.name == 'nt': |
|
77 | > if os.name == 'nt': | |
78 | > yield line.replace(os.sep, slash) |
|
78 | > yield line.replace(os.sep, slash) | |
79 | > else: |
|
79 | > else: | |
80 | > yield line |
|
80 | > yield line | |
81 | > |
|
81 | > | |
82 | > tracked = [f for f in hgdirectory(sys.argv[1])] |
|
82 | > tracked = [f for f in hgdirectory(sys.argv[1])] | |
83 | > |
|
83 | > | |
84 | > xml = ET.parse("%s/../contrib/wix/%s.wxs" % (testdir, sys.argv[1])) |
|
84 | > xml = ET.parse("%s/../contrib/wix/%s.wxs" % (testdir, sys.argv[1])) | |
85 | > root = xml.getroot() |
|
85 | > root = xml.getroot() | |
86 | > dir = root.find('.//{%(wix)s}DirectoryRef' % ns) |
|
86 | > dir = root.find('.//{%(wix)s}DirectoryRef' % ns) | |
87 | > |
|
87 | > | |
88 | > installed = [f for f in directory(dir, '')] |
|
88 | > installed = [f for f in directory(dir, '')] | |
89 | > |
|
89 | > | |
90 | > print('Not installed:') |
|
90 | > print('Not installed:') | |
91 | > for f in sorted(set(tracked) - set(installed)): |
|
91 | > for f in sorted(set(tracked) - set(installed)): | |
92 | > print(' %s' % f) |
|
92 | > print(' %s' % f) | |
93 | > |
|
93 | > | |
94 | > print('Not tracked:') |
|
94 | > print('Not tracked:') | |
95 | > for f in sorted(set(installed) - set(tracked)): |
|
95 | > for f in sorted(set(installed) - set(tracked)): | |
96 | > print(' %s' % f) |
|
96 | > print(' %s' % f) | |
97 | > EOF |
|
97 | > EOF | |
98 |
|
98 | |||
99 | $ python wixxml.py help |
|
99 | $ python wixxml.py help | |
100 | Not installed: |
|
100 | Not installed: | |
101 | help/common.txt |
|
101 | help/common.txt | |
102 | help/hg.1.txt |
|
102 | help/hg.1.txt | |
103 | help/hgignore.5.txt |
|
103 | help/hgignore.5.txt | |
104 | help/hgrc.5.txt |
|
104 | help/hgrc.5.txt | |
105 | help/internals/bundles.txt |
|
|||
106 | help/internals/changegroups.txt |
|
|||
107 | help/internals/revlogs.txt |
|
|||
108 | Not tracked: |
|
105 | Not tracked: | |
109 |
|
106 | |||
110 | $ python wixxml.py templates |
|
107 | $ python wixxml.py templates | |
111 | Not installed: |
|
108 | Not installed: | |
112 | Not tracked: |
|
109 | Not tracked: | |
113 |
|
110 | |||
114 | #endif |
|
111 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now