OSDN Git Service

Fix TortoiseGitBlame build problem and update version number and changelog
[tortoisegit/TortoiseGitJp.git] / src / TortoiseGitSetup / SubWCRev.wxs
1 <?xml version='1.0' encoding='windows-1252'?>\r
2 <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
3   <?include Includes.wxi?>\r
4   <Product\r
5   UpgradeCode="E973E6F7-CB9B-4f9e-9C04-52FE03F19BF2"\r
6   Name='SubWCRev standalone app'\r
7   Id='????????-????-????-????-????????????'\r
8   Language='1033'\r
9   Codepage='1252'\r
10   Version='$(var.VersionNumberInternal)'\r
11   Manufacturer='TortoiseGit'>\r
12 \r
13     <Package Id='????????-????-????-????-????????????'\r
14                         Keywords="Sourcecontrol;Git;TortoiseGit"\r
15                         Description="Subversion revision tool"\r
16                         Comments="Tool to find the global revision of a Subversion working copy"\r
17                         Manufacturer="$(var.PackageManufacturer)"\r
18                         InstallerVersion="100"\r
19                         Platforms="$(var.PackagePlatforms)"\r
20                         Languages="1033"\r
21                         Compressed="yes"\r
22                         SummaryCodepage="1252"/>\r
23 \r
24     <Upgrade Id="E973E6F7-CB9B-4f9e-9C04-52FE03F19BF2" >\r
25       <!-- flag is set if the install will trigger an upgrade of an existing install -->\r
26       <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Maximum="$(var.VersionNumberInternal)" IncludeMaximum="no" />\r
27     </Upgrade>\r
28 \r
29         <Property Id="TSVN">\r
30                 <RegistrySearch Id="PreviousInstallLocationRegistrySearch" Root="HKLM" Key="Software\[Manufacturer]" Name="Directory" Type="raw"/>\r
31         </Property>\r
32 \r
33         <Property Id="ALLUSERS">1</Property>\r
34 \r
35         <Condition Message="TortoiseGit is installed on this machine. [ProductName] is already part of TortoiseSVN!">TSVN=""</Condition>\r
36 \r
37     <Media Id='1' Cabinet='SubWCRev.cab' EmbedCab='yes' CompressionLevel="high" />\r
38     <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />\r
39 \r
40     <Directory Id='TARGETDIR' Name='SourceDir'>\r
41       <Directory Id='ProgramFilesFolder' Name='PFiles'>\r
42         <Directory Id='INSTALLDIR' Name='SubWCRev' LongName='SubWCRev'>\r
43           <Component Id='Main' Guid='EEE2185B-817B-4482-9D57-2D17291DCAEF'>\r
44 \r
45             <File Id='SUBWCREV' Name='SUBWCREV.EXE' LongName='SubWCRev.exe' DiskId='1' Source='..\..\bin\releasestatic\bin\SubWCRev.exe' Vital='yes'></File>\r
46             <File Id="SUBWCREVCOM" Name="SUBWCOM.EXE" LongName="SubWCRevCOM.exe" DiskId="1" src="..\..\bin\releasestatic\bin\SubWCRevCOM.exe" />\r
47 \r
48             <!-- register the SubWCRev COM-Object -->\r
49             <Registry Root="HKMU" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}" Action="createKeyAndRemoveKeyOnUninstall" />\r
50             <Registry Root="HKMU" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\LocalServer32" Value="[INSTALLDIR]\SubWCRevCOM.exe /automation" Type="string" />\r
51             <Registry Root="HKMU" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\ProgID" Value="SubWCRev.object.1" Type="string" />\r
52             <Registry Root="HKMU" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\VersionIndependentProgID" Value="SubWCRev.object" Type="string" />\r
53             <Registry Root="HKMU" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\TypeLib" Value="{$(var.GuidSubWCRevTypeLib)}" Type="string" />\r
54             <Registry Root="HKMU" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}" Value="SubWCRev Server Object" Type="string" />\r
55 \r
56             <Registry Root="HKMU" Key="Software\Classes\SubWCRev.object" Action="createKeyAndRemoveKeyOnUninstall" />\r
57             <Registry Root="HKMU" Key="Software\Classes\SubWCRev.object" Value="SubWCRev Server Object" Type="string" />\r
58             <Registry Root="HKMU" Key="Software\Classes\SubWCRev.object\CLSID" Value="{$(var.GuidSubWCRev)}" Type="string" />\r
59             <Registry Root="HKMU" Key="Software\Classes\SubWCRev.object\CurVer" Value="SubWCRev.object.1" Type="string" />\r
60 \r
61             <Registry Root="HKMU" Key="Software\Classes\SubWCRev.object.1" Action="createKeyAndRemoveKeyOnUninstall" />\r
62             <Registry Root="HKMU" Key="Software\Classes\SubWCRev.object.1" Value="SubWCRev Server Object" Type="string" />\r
63             <Registry Root="HKMU" Key="Software\Classes\SubWCRev.object.1\CLSID" Value="{$(var.GuidSubWCRev)}" Type="string" />\r
64 \r
65             <Registry Root="HKMU" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}" Action="createKeyAndRemoveKeyOnUninstall" />\r
66             <Registry Root="HKMU" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0" Value="LibSubWCRev" Type="string" />\r
67             <Registry Root="HKMU" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\0" Action="createKeyAndRemoveKeyOnUninstall" />\r
68             <Registry Root="HKMU" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\0\win32" Value="[INSTALLDIR]\SubWCRevCOM.exe" Type="string" />\r
69             <Registry Root="HKMU" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\FLAGS" Value="0" Type="string" />\r
70             <Registry Root="HKMU" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\HELPDIR" Value="[INSTALLDIR]" Type="string" />\r
71 \r
72             <Registry Root="HKMU" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}" Action="createKeyAndRemoveKeyOnUninstall" />\r
73             <Registry Root="HKMU" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}" Value="ISubWCRev" Type="string" />\r
74             <Registry Root="HKMU" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\ProxyStubClsid" Value="{00020424-0000-0000-C000-000000000046}" Type="string" />\r
75             <Registry Root="HKMU" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\ProxyStubClsid32" Value="{00020424-0000-0000-C000-000000000046}" Type="string" />\r
76             <Registry Root="HKMU" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\TypeLib" Value="{$(var.GuidSubWCRevTypeLib)}" Type="string" />\r
77             <Registry Root="HKMU" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\TypeLib" Name="Version" Value="1.0" Type="string" />\r
78 \r
79             <Environment Id="Environment" Name="PATH" Part="last" System="yes" Value="[INSTALLDIR]" Action="set" />\r
80           </Component>\r
81         </Directory>\r
82       </Directory>\r
83 \r
84     </Directory>\r
85 \r
86     <Feature Id='Complete' Title='SubWCRev' Description='SubWCRev, the main component'\r
87       Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>\r
88       <Feature Id='Main' Title='Program' Description='SubWCRev, the main component.' Level='1'>\r
89         <ComponentRef Id='Main' />\r
90       </Feature>\r
91     </Feature>\r
92 \r
93     <UIRef Id="WixUI_Simplest" />\r
94     <UIRef Id="WixUI_ErrorProgressText" />\r
95 \r
96     <InstallExecuteSequence>\r
97       <!-- AppSearch must be done before RemoveExistingProducts and before FindRelatedProducts -->\r
98       <AppSearch Sequence="1"></AppSearch>\r
99       <LaunchConditions After="AppSearch" />\r
100       <RemoveExistingProducts After="InstallValidate"><![CDATA[PREVIOUSVERSIONSINSTALLED]]></RemoveExistingProducts>\r
101     </InstallExecuteSequence>\r
102 \r
103   </Product>\r
104 </Wix>\r