fixed building language msi packs for Win64
[TortoiseGit.git] / Languages / LanguagePack.wxs
blobec86edf620111fdd55b2d4ac76cb1a13b3887cef
1 <?xml version='1.0' encoding='utf-8'?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <?include ../src/TortoiseGitSetup/Includes.wxi?>
5 <Product
6 UpgradeCode="9ECED698-D4D9-42fd-946D-51CC049D1F6F"
7 Name='$(var.LANGNATIVE) Languagepack for TortoiseGit'
8 Id='*'
9 Language='1033'
10 Codepage='1252'
11 Version='$(var.VersionNumberInternal)'
12 Manufacturer='TortoiseGit'>
14 <Package Id='*' Keywords='Installer'
15 Description="$LANGUI$ language pack for TortoiseGit"
16 Comments='http://code.google.com/p/tortoisegit'
17 Manufacturer="Frank Li, Sven Strickroth"
18 Platform="$(var.PackagePlatforms)"
19 InstallerVersion='301'
20 Languages='1033'
21 Compressed='yes'
22 SummaryCodepage='1252' />
24 <Media Id='1' Cabinet='langpack.cab' EmbedCab='yes' CompressionLevel="high" />
25 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
27 <Property Id="ALLUSERS">1</Property>
29 <Property Id="INSTALLDIR">
30 <RegistrySearch Id="TGitInstallationDir" Root="HKLM" Key="Software\[Manufacturer]" Name="Directory" Type="raw" Win64="$(var.Win64YesNo)"/>
31 </Property>
32 <Condition Message="TortoiseGit is not installed. Please install TortoiseGit before installing the language pack">INSTALLDIR</Condition>
34 <Directory Id='TARGETDIR' Name='SourceDir'>
35 <Directory Id='D__ProgramFilesFolder' ShortName="PFiles" Name="Program Files">
36 <Directory Id='INSTALLDIR' Name='TortoiseGit'>
37 <Directory Id='LanguagesFolder' Name='Languages'>
38 <Component Id='Main' Guid='9D004446-94B4-4b9d-8C95-0BD46008A2A5'>
39 <?if $(var.TSVNHelpFile) = "$COUNTRYCODE$" ?>
40 <File Id='HELPPROC' Name='TortoiseSVN_$COUNTRYCODE$.chm' DiskId='1' Source='..\doc\output\TortoiseSVN_$COUNTRYCODE$.chm' Vital='no'></File>
41 <?endif?>
42 <?if $(var.TMergeHelpFile) = "$COUNTRYCODE$" ?>
43 <File Id='HELPMERG' Name='TortoiseMerge_$COUNTRYCODE$.chm' DiskId='1' Source='..\doc\output\TortoiseMerge_$COUNTRYCODE$.chm' Vital='no'></File>
44 <?endif?>
45 <!--
46 $SPELLCHECKFILES$
47 -->
49 <File Id='PROCDLL' Name='TortoiseProc$(var.COUNTRYID).dll' DiskId='1' Source='..\bin\$(var.ReleasePath)\bin\TortoiseProc$(var.COUNTRYID).dll' Vital='yes'></File>
50 <File Id='MERGDLL' Name='TortoiseMerge$(var.COUNTRYID).dll' DiskId='1' Source='..\bin\$(var.ReleasePath)\bin\TortoiseMerge$(var.COUNTRYID).dll' Vital='yes'></File>
51 <File Id='BLAMDLL' Name='TortoiseGitBlame$(var.COUNTRYID).dll' DiskId='1' Source='..\bin\$(var.ReleasePath)\bin\TortoiseGitBlame$(var.COUNTRYID).dll' Vital='yes'></File>
52 <File Id='IDIFDLL' Name='TortoiseIDiff$(var.COUNTRYID).dll' DiskId='1' Source='..\bin\$(var.ReleasePath)\bin\TortoiseIDiff$(var.COUNTRYID).dll' Vital='yes'></File>
54 </Component>
55 <?if $(var.TSVNMoFile) = "$COUNTRYCODE$" ?>
56 <Directory Id='SVNLANG' Name='$COUNTRYCODE$' >
57 <Directory Id='LCMESG' Name='LC_MESSAGES'>
58 <Component Id='SVNMO' Guid='3CD420FC-32B4-4413-84EE-BAEB77E04B06'>
59 <File Id='MO' Name='Subversion.mo' DiskId='1' Source='Subversion.mo' Vital='no'></File>
60 </Component>
61 </Directory>
62 </Directory>
63 <?endif?>
64 </Directory>
65 </Directory>
66 </Directory>
68 </Directory>
70 <Feature Id='Complete' Title='Binaries' Description='The complete language pack.'
71 Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>
72 <Feature Id='Main' Title='Program' Description='The language pack files.' Level='1'>
73 <ComponentRef Id='Main' />
74 <?if $(var.TSVNMoFile) = "$COUNTRYCODE$" ?>
75 <ComponentRef Id='SVNMO' />
76 <?endif?>
77 </Feature>
78 </Feature>
80 <UIRef Id="WixUI_LanguagePack" />
81 <UIRef Id="WixUI_ErrorProgressText" />
83 <WixVariable Id="WixUIBannerBmp" Value="Banner.jpg" />
84 <WixVariable Id="WixUIDialogBmp" Value="Dialog.jpg" />
88 <InstallExecuteSequence>
89 <!-- These 'Suppress' statements prevent the installer from getting
90 registered and from being shown in the software panel. With both
91 suppressed, the installer simply copies the files without any
92 trace left. -->
93 <PublishProduct Suppress='yes' />
94 <RegisterProduct Suppress='yes' />
95 <RegisterUser Suppress='yes' />
96 <PublishFeatures Suppress='yes' />
97 </InstallExecuteSequence>
99 </Product>
100 </Wix>