OSDN Git Service

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