##// END OF EJS Templates
wix: bump the minimum Windows required to 8.1...
Matt Harbison -
r50063:df3e9d98 default
parent child Browse files
Show More
@@ -1,136 +1,136 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='Olivia Mackall and others'>
22 Manufacturer='Olivia 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='Olivia Mackall and others'
29 Manufacturer='Olivia 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 8.1 or higher'>
37 VersionNT >= 501
37 VersionNT >= 603
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 Type='directory' />
43 Type='directory' />
44 </Property>
44 </Property>
45
45
46 <!--Property Id='ARPCOMMENTS'>any comments</Property-->
46 <!--Property Id='ARPCOMMENTS'>any comments</Property-->
47 <Property Id='ARPCONTACT'>mercurial@mercurial-scm.org</Property>
47 <Property Id='ARPCONTACT'>mercurial@mercurial-scm.org</Property>
48 <Property Id='ARPHELPLINK'>https://mercurial-scm.org/wiki/</Property>
48 <Property Id='ARPHELPLINK'>https://mercurial-scm.org/wiki/</Property>
49 <Property Id='ARPURLINFOABOUT'>https://mercurial-scm.org/about/</Property>
49 <Property Id='ARPURLINFOABOUT'>https://mercurial-scm.org/about/</Property>
50 <Property Id='ARPURLUPDATEINFO'>https://mercurial-scm.org/downloads/</Property>
50 <Property Id='ARPURLUPDATEINFO'>https://mercurial-scm.org/downloads/</Property>
51 <Property Id='ARPHELPTELEPHONE'>https://mercurial-scm.org/wiki/Support</Property>
51 <Property Id='ARPHELPTELEPHONE'>https://mercurial-scm.org/wiki/Support</Property>
52 <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property>
52 <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property>
53
53
54 <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property>
54 <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property>
55 <Property Id='REINSTALLMODE'>amus</Property>
55 <Property Id='REINSTALLMODE'>amus</Property>
56
56
57 <!--Auto-accept the license page-->
57 <!--Auto-accept the license page-->
58 <Property Id='LicenseAccepted'>1</Property>
58 <Property Id='LicenseAccepted'>1</Property>
59
59
60 <Directory Id='TARGETDIR' Name='SourceDir'>
60 <Directory Id='TARGETDIR' Name='SourceDir'>
61 <Directory Id='$(var.PFolder)' Name='PFiles'>
61 <Directory Id='$(var.PFolder)' Name='PFiles'>
62 <Directory Id='INSTALLDIR' Name='Mercurial'>
62 <Directory Id='INSTALLDIR' Name='Mercurial'>
63 <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)' Win64='$(var.IsX64)'>
63 <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)' Win64='$(var.IsX64)'>
64 <CreateFolder />
64 <CreateFolder />
65 <Environment Id="Environment" Name="PATH" Part="last" System="yes"
65 <Environment Id="Environment" Name="PATH" Part="last" System="yes"
66 Permanent="no" Value="[INSTALLDIR]" Action="set" />
66 Permanent="no" Value="[INSTALLDIR]" Action="set" />
67 </Component>
67 </Component>
68 </Directory>
68 </Directory>
69 </Directory>
69 </Directory>
70
70
71 <Directory Id="ProgramMenuFolder" Name="Programs">
71 <Directory Id="ProgramMenuFolder" Name="Programs">
72 <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)">
72 <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)">
73 <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)" Win64='$(var.IsX64)'>
73 <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)" Win64='$(var.IsX64)'>
74 <RemoveFolder Id='ProgramMenuDir' On='uninstall' />
74 <RemoveFolder Id='ProgramMenuDir' On='uninstall' />
75 <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string'
75 <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string'
76 Value='[INSTALLDIR]' KeyPath='yes' />
76 Value='[INSTALLDIR]' KeyPath='yes' />
77 <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site'
77 <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site'
78 Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' />
78 Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' />
79 </Component>
79 </Component>
80 </Directory>
80 </Directory>
81 </Directory>
81 </Directory>
82 </Directory>
82 </Directory>
83
83
84 <Feature Id='Complete' Title='Mercurial' Description='The complete package'
84 <Feature Id='Complete' Title='Mercurial' Description='The complete package'
85 Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' >
85 Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' >
86 <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app'
86 <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app'
87 Level='1' Absent='disallow' >
87 Level='1' Absent='disallow' >
88 <ComponentRef Id='MainExecutable' />
88 <ComponentRef Id='MainExecutable' />
89 <ComponentRef Id='ProgramMenuDir' />
89 <ComponentRef Id='ProgramMenuDir' />
90 <ComponentGroupRef Id="hg.group.ROOT" />
90 <ComponentGroupRef Id="hg.group.ROOT" />
91 <ComponentGroupRef Id="hg.group.defaultrc" />
91 <ComponentGroupRef Id="hg.group.defaultrc" />
92 <ComponentGroupRef Id="hg.group.helptext" />
92 <ComponentGroupRef Id="hg.group.helptext" />
93 <?ifdef MercurialHasLib?>
93 <?ifdef MercurialHasLib?>
94 <ComponentGroupRef Id="hg.group.lib" />
94 <ComponentGroupRef Id="hg.group.lib" />
95 <?endif?>
95 <?endif?>
96 <ComponentGroupRef Id="hg.group.templates" />
96 <ComponentGroupRef Id="hg.group.templates" />
97 </Feature>
97 </Feature>
98 <?ifdef MercurialExtraFeatures?>
98 <?ifdef MercurialExtraFeatures?>
99 <?foreach EXTRAFEAT in $(var.MercurialExtraFeatures)?>
99 <?foreach EXTRAFEAT in $(var.MercurialExtraFeatures)?>
100 <FeatureRef Id="$(var.EXTRAFEAT)" />
100 <FeatureRef Id="$(var.EXTRAFEAT)" />
101 <?endforeach?>
101 <?endforeach?>
102 <?endif?>
102 <?endif?>
103 <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'>
103 <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'>
104 <ComponentGroupRef Id="hg.group.locale" />
104 <ComponentGroupRef Id="hg.group.locale" />
105 </Feature>
105 </Feature>
106 <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'>
106 <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'>
107 <ComponentGroupRef Id="hg.group.doc" />
107 <ComponentGroupRef Id="hg.group.doc" />
108 </Feature>
108 </Feature>
109 <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'>
109 <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'>
110 <ComponentGroupRef Id="hg.group.contrib" />
110 <ComponentGroupRef Id="hg.group.contrib" />
111 </Feature>
111 </Feature>
112 </Feature>
112 </Feature>
113
113
114 <UIRef Id="WixUI_FeatureTree" />
114 <UIRef Id="WixUI_FeatureTree" />
115 <UIRef Id="WixUI_ErrorProgressText" />
115 <UIRef Id="WixUI_ErrorProgressText" />
116
116
117 <?ifdef PyOxidizer?>
117 <?ifdef PyOxidizer?>
118 <WixVariable Id="WixUILicenseRtf" Value="COPYING.rtf" />
118 <WixVariable Id="WixUILicenseRtf" Value="COPYING.rtf" />
119 <Icon Id="hgIcon.ico" SourceFile="mercurial.ico" />
119 <Icon Id="hgIcon.ico" SourceFile="mercurial.ico" />
120 <?else?>
120 <?else?>
121 <WixVariable Id="WixUILicenseRtf" Value="contrib\packaging\wix\COPYING.rtf" />
121 <WixVariable Id="WixUILicenseRtf" Value="contrib\packaging\wix\COPYING.rtf" />
122 <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" />
122 <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" />
123 <?endif?>
123 <?endif?>
124
124
125 <Upgrade Id='$(var.ProductUpgradeCode)'>
125 <Upgrade Id='$(var.ProductUpgradeCode)'>
126 <UpgradeVersion
126 <UpgradeVersion
127 IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no'
127 IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no'
128 Property='INSTALLEDMERCURIALPRODUCTS' />
128 Property='INSTALLEDMERCURIALPRODUCTS' />
129 </Upgrade>
129 </Upgrade>
130
130
131 <InstallExecuteSequence>
131 <InstallExecuteSequence>
132 <RemoveExistingProducts After='InstallInitialize'/>
132 <RemoveExistingProducts After='InstallInitialize'/>
133 </InstallExecuteSequence>
133 </InstallExecuteSequence>
134
134
135 </Product>
135 </Product>
136 </Wix>
136 </Wix>
General Comments 0
You need to be logged in to leave comments. Login now