OSDN Git Service

Add Clone Dlg
[tortoisegit/TortoiseGitJp.git] / src / TortoiseGitSetup / SubWCRev.wxs
1 <?xml version='1.0' encoding='windows-1252'?>\r
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/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='TortoiseSVN'>\r
12 \r
13     <Package Id='*'\r
14                         Keywords="Sourcecontrol;Subversion;TortoiseSVN"\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                         Platform="$(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="TortoiseSVN 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 \r
39     <Directory Id='TARGETDIR' Name='SourceDir'>\r
40       <Directory Id='ProgramFilesFolder' Name='PFiles'>\r
41         <Directory Id='INSTALLDIR' Name='SubWCRev' >\r
42           <Component Id='Main' Guid='EEE2185B-817B-4482-9D57-2D17291DCAEF'>\r
43 \r
44             <File Id='SUBWCREV' Name='SubWCRev.exe' DiskId='1' Source='..\..\bin\releasestatic\bin\SubWCRev.exe' Vital='yes'></File>\r
45             <File Id="SUBWCREVCOM" Name="SubWCRevCOM.exe" DiskId="1" Source="..\..\bin\releasestatic\bin\SubWCRevCOM.exe" />\r
46 \r
47             <!-- register the SubWCRev COM-Object -->\r
48             <RegistryKey Root="HKLM" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}" Action="createAndRemoveOnUninstall" />\r
49             <RegistryValue Root="HKLM" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\LocalServer32" Value="[INSTALLDIR]\SubWCRevCOM.exe /automation" Type="string" />\r
50             <RegistryValue Root="HKLM" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\ProgID" Value="SubWCRev.object.1" Type="string" />\r
51             <RegistryValue Root="HKLM" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\VersionIndependentProgID" Value="SubWCRev.object" Type="string" />\r
52             <RegistryValue Root="HKLM" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}\TypeLib" Value="{$(var.GuidSubWCRevTypeLib)}" Type="string" />\r
53             <RegistryValue Root="HKLM" Key="Software\Classes\CLSID\{$(var.GuidSubWCRev)}" Value="SubWCRev Server Object" Type="string" />\r
54 \r
55             <RegistryKey Root="HKLM" Key="Software\Classes\SubWCRev.object" Action="createAndRemoveOnUninstall" />\r
56             <RegistryValue Root="HKLM" Key="Software\Classes\SubWCRev.object" Value="SubWCRev Server Object" Type="string" />\r
57             <RegistryValue Root="HKLM" Key="Software\Classes\SubWCRev.object\CLSID" Value="{$(var.GuidSubWCRev)}" Type="string" />\r
58             <RegistryValue Root="HKLM" Key="Software\Classes\SubWCRev.object\CurVer" Value="SubWCRev.object.1" Type="string" />\r
59 \r
60             <RegistryKey Root="HKLM" Key="Software\Classes\SubWCRev.object.1" Action="createAndRemoveOnUninstall" />\r
61             <RegistryValue Root="HKLM" Key="Software\Classes\SubWCRev.object.1" Value="SubWCRev Server Object" Type="string" />\r
62             <RegistryValue Root="HKLM" Key="Software\Classes\SubWCRev.object.1\CLSID" Value="{$(var.GuidSubWCRev)}" Type="string" />\r
63 \r
64             <RegistryKey Root="HKLM" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}" Action="createAndRemoveOnUninstall" />\r
65             <RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0" Value="LibSubWCRev" Type="string" />\r
66             <RegistryKey Root="HKLM" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\0" Action="createAndRemoveOnUninstall" />\r
67             <RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\0\win32" Value="[INSTALLDIR]\SubWCRevCOM.exe" Type="string" />\r
68             <RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\FLAGS" Value="0" Type="string" />\r
69             <RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{$(var.GuidSubWCRevTypeLib)}\1.0\HELPDIR" Value="[INSTALLDIR]" Type="string" />\r
70 \r
71             <RegistryKey Root="HKLM" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}" Action="createAndRemoveOnUninstall" />\r
72             <RegistryValue Root="HKLM" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}" Value="ISubWCRev" Type="string" />\r
73             <RegistryValue Root="HKLM" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\ProxyStubClsid" Value="{00020424-0000-0000-C000-000000000046}" Type="string" />\r
74             <RegistryValue Root="HKLM" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\ProxyStubClsid32" Value="{00020424-0000-0000-C000-000000000046}" Type="string" />\r
75             <RegistryValue Root="HKLM" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\TypeLib" Value="{$(var.GuidSubWCRevTypeLib)}" Type="string" />\r
76             <RegistryValue Root="HKLM" Key="Software\Classes\Interface\{$(var.GuidSubWCRevInterface)}\TypeLib" Name="Version" Value="1.0" Type="string" />\r
77 \r
78             <Environment Id="Environment" Name="PATH" Part="last" System="yes" Value="[INSTALLDIR]" Action="set" />\r
79           </Component>\r
80         </Directory>\r
81       </Directory>\r
82 \r
83     </Directory>\r
84 \r
85         <WixVariable Id="WixUILicenseRtf" Value="include\TSVN_eula.rtf" />\r
86         <WixVariable Id="WixUIBannerBmp" Value="include\BannerStatic.jpg" />\r
87         <WixVariable Id="WixUIDialogBmp" Value="include\DialogStatic.jpg" />\r
88         <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />\r
89         <UIRef Id="WixUI_InstallDir" />\r
90 \r
91     <Feature Id='Complete' Title='SubWCRev' Description='SubWCRev, the main component'\r
92       Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>\r
93       <Feature Id='Main' Title='Program' Description='SubWCRev, the main component.' Level='1'>\r
94         <ComponentRef Id='Main' />\r
95       </Feature>\r
96     </Feature>\r
97 \r
98     <InstallExecuteSequence>\r
99       <!-- AppSearch must be done before RemoveExistingProducts and before FindRelatedProducts -->\r
100       <AppSearch Sequence="1"></AppSearch>\r
101       <LaunchConditions After="AppSearch" />\r
102       <RemoveExistingProducts After="InstallValidate"><![CDATA[PREVIOUSVERSIONSINSTALLED]]></RemoveExistingProducts>\r
103     </InstallExecuteSequence>\r
104 \r
105   </Product>\r
106 </Wix>\r