Mercurial > hg
comparison contrib/wix/mercurial.wxs @ 10930:230ab9a23594
wix updates
- using FileSource attribute
- removed unneeded "DiskId='1'"
- all guids are now in guids.wxi
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 16 Apr 2010 14:57:30 +0200 |
parents | 1aa9464ce9ae |
children | 79388a8325dc |
comparison
equal
deleted
inserted
replaced
10929:c2bf61e48f35 | 10930:230ab9a23594 |
---|---|
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)' Manufacturer='Matt Mackall and others.'> | 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' CompressionLevel='high' /> | 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'>VersionNT >= 501</Condition> | 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' Guid='$(var.ComponentMainExecutableGUID)' /> | 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> |
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' DiskId='1' Source='dist\hg.exe' KeyPath='yes' /> | 54 <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> |
48 <File Id='libraryZIP' Name='library.zip' DiskId='1' Source='dist\library.zip' /> | 55 <File Id='libraryZIP' Name='library.zip' Source='dist\library.zip' /> |
49 <File Id='pythonDLL' Name='python26.dll' DiskId='1' Source='dist\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='56A8E372-991D-4DCA-B91D-93D775974CF5'> | 60 <Component Id='ReadMe' Guid='$(var.ReadMe.guid)'> |
54 <File Id='ReadMe' Name='ReadMe.html' DiskId='1' Source='contrib\win32\ReadMe.html' KeyPath='yes'/> | 61 <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' |
62 KeyPath='yes'/> | |
55 </Component> | 63 </Component> |
56 <Component Id='COPYING' Guid='B7801DBA-1C49-4BF4-91AD-33C65F5C7895'> | 64 <Component Id='COPYING' Guid='$(var.COPYING.guid)'> |
57 <File Id='COPYING' Name='COPYING.rtf' DiskId='1' Source='contrib\wix\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='1D5FAEEE-7E6E-43B1-9F7F-802714316B15'> | 69 <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)'> |
61 <File Id='mercurial.rc' Name='Mercurial.rc' DiskId='1' Source='contrib\win32\mercurial.ini' | 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='E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD'> | 73 <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)'> |
65 <File Id='mergetools.rc' Name='MergeTools.rc' DiskId='1' Source='contrib\mergetools.hgrc' | 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="D5A63320-1238-489B-B68B-CF053E9577CA"> | 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' Target='[ARPHELPLINK]' | 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> |