added a readme file where to find the source code for TortoiseOverlays
[TortoiseGit.git] / src / TortoiseOverlays / TortoiseOverlaysMSI.wxs
blob605fd2e4e4db8b3a26108a9058b63511e8b983b6
1 <?xml version="1.0"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <?include Includes.wxi?>
4 <?if $(env.Platform) = "win32" ?>
5 <?define cf="CommonFilesFolder" ?>
6 <?endif ?>
7 <?if $(env.Platform) = "x64" ?>
8 <?define cf="CommonFiles64Folder" ?>
9 <?endif ?>
10 <Product
11 UpgradeCode="$(var.UpgradeGuid)"
12 Name="TortoiseOverlays"
13 Id="*"
14 Version="$(var.VersionNumberInternal)"
15 Manufacturer="TortoiseSVN"
16 Language="1033">
17 <Package
18 Id="*"
19 Keywords="Tortoise,Overlays"
20 Description="Overlayhandler for Tortoise clients"
21 Comments="Provided by TortoiseSVN"
22 Manufacturer="TortoiseSVN"
23 InstallerVersion="200"
24 Platform="$(var.PackagePlatforms)"
25 Languages="1033"
26 Compressed="yes"
27 SummaryCodepage="1252"/>
29 <Media Id="1" Cabinet="TOVL.cab" EmbedCab="yes" CompressionLevel="high" />
31 <Upgrade Id='$(var.UpgradeGuid)'>
32 <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.VersionNumberInternal)" OnlyDetect="yes" />
33 </Upgrade>
35 <Directory Id='TARGETDIR' Name='SourceDir'>
36 <Directory Id='$(var.cf)' Name='Common'>
37 <Directory Id='TortoiseOverlays' Name='TortoiseOverlays'>
38 <Component Id="C__overlaydll" Guid="$(var.OverlayDll)" Win64="$(var.Win64YesNo)">
39 <File Id="F__overlaydll" Name="TortoiseOverlays.dll" DiskId="1" Source="..\..\bin\$(var.ReleasePath)\bin\TortoiseOverlays.dll" KeyPath="yes" />
40 <File Id="F__license" Name="License.txt" DiskId="1" Source="License.txt" />
41 </Component>
43 <?if $(env.Platform) = "win32" ?>
44 <?include TortoiseOverlaysDir.wxi?>
45 <?endif ?>
46 <?if $(env.Platform) = "x64" ?>
47 <?include TortoiseOverlaysDirx64.wxi?>
48 <?endif ?>
50 <Directory Id="D__icons" Name="icons" >
51 <Directory Id="D__iconsxpstyle" Name="XPStyle" >
52 <Component Id="C__iconsxpstyle" Guid="$(var.GuidIconsXPStyle)" Win64="$(var.Win64YesNo)">
53 <File Id="F__XPStyleConflictIcon" Name="NormalIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\NormalIcon.ico" KeyPath="yes" />
54 <File Id="F__XPStyleInSubversionIcon" Name="ModifiedIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\ModifiedIcon.ico" />
55 <File Id="F__XPStyleModifiedIcon" Name="ConflictIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\ConflictIcon.ico" />
56 <File Id="F__XPStyleReadOnlyIcon" Name="DeletedIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\DeletedIcon.ico" />
57 <File Id="F__XPStyleDeletedIcon" Name="ReadOnlyIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\ReadOnlyIcon.ico" />
58 <File Id="F__XPStyleLockedIcon" Name="LockedIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\LockedIcon.ico" />
59 <File Id="F__XPStyleAddedIcon" Name="AddedIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\AddedIcon.ico" />
60 <File Id="F__XPStyleIgnoredIcon" Name="IgnoredIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\IgnoredIcon.ico" />
61 <File Id="F__XPStyleUnversionedIcon" Name="UnversionedIcon.ico" DiskId="1" Source="..\Resources\Icons\XPStyle\UnversionedIcon.ico" />
62 </Component>
63 </Directory>
64 </Directory>
66 </Directory>
67 </Directory>
68 </Directory>
70 <Feature Id='TortoiseOverlaysPackage' Title='TortoiseOverlays Package' Level='1'>
71 <ComponentRef Id='C__overlaydll' />
72 <ComponentRef Id='C__iconsxpstyle' />
73 <ComponentRef Id='OverlayRegistry' />
74 <ComponentRef Id='C__machineregistry' />
75 <ComponentRef Id='C__approveshellcomponents' />
76 </Feature>
78 <InstallExecuteSequence>
79 <!-- AppSearch must be done before RemoveExistingProducts and before FindRelatedProducts -->
80 <AppSearch Sequence="1"></AppSearch>
81 <RemoveExistingProducts After="InstallValidate">PREVIOUSVERSIONSINSTALLED</RemoveExistingProducts>
82 <ScheduleReboot After="RegisterProduct" />
83 </InstallExecuteSequence>
85 </Product>
86 </Wix>