fixed activation order on switch dialog
[TortoiseGit.git] / Languages / LanguagePack.wxs
blobc492a1185f78c2a93c491d3e3dc3f92dc221b645
1 <?xml version='1.0' encoding='utf-8'?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <?if $(env.Platform) = "x64" ?>
4 <?define Win64YesNo="yes" ?>
5 <?define PackagePlatforms="x64" ?>
6 <?else?>
7 <?define Win64YesNo="no" ?>
8 <?define PackagePlatforms="x86" ?>
9 <?endif?>
11 <Product
12 UpgradeCode="9ECED698-D4D9-42fd-946D-51CC049D1F6F"
13 Name='$LANGNATIVE$ Languagepack for TortoiseSVN'
14 Id='*'
15 Language='1033'
16 Codepage='1252'
17 Version='$MajorVersion$.$MinorVersion$.$WCREV$'
18 Manufacturer='TortoiseSVN'>
20 <Package Id='*' Keywords='Installer'
21 Description="$LANGUI$ language pack for TortoiseSVN"
22 Comments='http://tortoisesvn.net'
23 Manufacturer="Stefan Kueng"
24 Platform="$(var.PackagePlatforms)"
25 InstallerVersion='200'
26 Languages='1033'
27 Compressed='yes'
28 SummaryCodepage='1252' />
30 <Media Id='1' Cabinet='langpack.cab' EmbedCab='yes' CompressionLevel="high" />
31 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
33 <Property Id="ALLUSERS">1</Property>
35 <Property Id="INSTALLDIR">
36 <RegistrySearch Id="TSVNInstallationDir" Root="HKLM" Key="Software\[Manufacturer]" Name="Directory" Type="raw" Win64="$(var.Win64YesNo)"/>
37 </Property>
38 <Condition Message="TortoiseSVN is not installed. Please install TortoiseSVN before installing the language pack">INSTALLDIR</Condition>
40 <Directory Id='TARGETDIR' Name='SourceDir'>
41 <Directory Id='ProgramFilesFolder' Name='PFiles'>
42 <Directory Id='INSTALLDIR' Name='TortoiseSVN'>
43 <Directory Id='LanguagesFolder' Name='Languages'>
44 <Component Id='Main' Guid='9D004446-94B4-4b9d-8C95-0BD46008A2A5'>
45 <?if $(env.TSVNHelpFile) = "$COUNTRYCODE$" ?>
46 <File Id='HELPPROC' Name='TortoiseSVN_$COUNTRYCODE$.chm' DiskId='1' Source='..\doc\output\TortoiseSVN_$COUNTRYCODE$.chm' Vital='no'></File>
47 <?endif?>
48 <?if $(env.TMergeHelpFile) = "$COUNTRYCODE$" ?>
49 <File Id='HELPMERG' Name='TortoiseMerge_$COUNTRYCODE$.chm' DiskId='1' Source='..\doc\output\TortoiseMerge_$COUNTRYCODE$.chm' Vital='no'></File>
50 <?endif?>
52 $SPELLCHECKFILES$
54 <File Id='PROCDLL' Name='TortoiseProc$COUNTRYID$.dll' DiskId='1' Source='..\bin\TortoiseProc$COUNTRYID$.dll' Vital='yes'></File>
55 <File Id='MERGDLL' Name='TortoiseMerge$COUNTRYID$.dll' DiskId='1' Source='..\bin\TortoiseMerge$COUNTRYID$.dll' Vital='yes'></File>
56 <File Id='BLAMDLL' Name='TortoiseBlame$COUNTRYID$.dll' DiskId='1' Source='..\bin\TortoiseBlame$COUNTRYID$.dll' Vital='yes'></File>
57 <File Id='IDIFDLL' Name='TortoiseIDiff$COUNTRYID$.dll' DiskId='1' Source='..\bin\TortoiseIDiff$COUNTRYID$.dll' Vital='yes'></File>
59 </Component>
60 <?if $(env.TSVNMoFile) = "$COUNTRYCODE$" ?>
61 <Directory Id='SVNLANG' Name='$COUNTRYCODE$' >
62 <Directory Id='LCMESG' Name='LC_MESSAGES'>
63 <Component Id='SVNMO' Guid='3CD420FC-32B4-4413-84EE-BAEB77E04B06'>
64 <File Id='MO' Name='Subversion.mo' DiskId='1' Source='Subversion.mo' Vital='no'></File>
65 </Component>
66 </Directory>
67 </Directory>
68 <?endif?>
69 </Directory>
70 </Directory>
71 </Directory>
73 </Directory>
75 <Feature Id='Complete' Title='Binaries' Description='The complete language pack.'
76 Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>
77 <Feature Id='Main' Title='Program' Description='The language pack files.' Level='1'>
78 <ComponentRef Id='Main' />
79 <?if $(env.TSVNMoFile) = "$COUNTRYCODE$" ?>
80 <ComponentRef Id='SVNMO' />
81 <?endif?>
82 </Feature>
83 </Feature>
85 <UIRef Id="WixUI_LanguagePack" />
86 <UIRef Id="WixUI_ErrorProgressText" />
88 <WixVariable Id="WixUIBannerBmp" Value="Banner.jpg" />
89 <WixVariable Id="WixUIDialogBmp" Value="Dialog.jpg" />
93 <InstallExecuteSequence>
94 <!-- These 'Suppress' statements prevent the installer from getting
95 registered and from being shown in the software panel. With both
96 suppressed, the installer simply copies the files without any
97 trace left. -->
98 <PublishProduct Suppress='yes' />
99 <RegisterProduct Suppress='yes' />
100 <RegisterUser Suppress='yes' />
101 <PublishFeatures Suppress='yes' />
102 </InstallExecuteSequence>
104 </Product>
105 </Wix>