/win32/wix/cmenu-i18n.wxs

https://bitbucket.org/tortoisehg/hgtk/ · WiX source · 25 lines · 21 code · 4 blank · 0 comment · 0 complexity · 359fddeec714b97f1d50e1fdaf4e7bc3 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  3. <?include guids.wxi ?>
  4. <?include defines.wxi ?>
  5. <?define thgcmenulangs =
  6. cs;da;de;en_GB;en_US;es;fa;fr;he;hr;it;ja;ko;nl;nn;pl;pt;pt_BR;ru;tr;uk;zh_CN;zh_TW
  7. ?>
  8. <!-- lang 'ca' is used for key path -->
  9. <Fragment>
  10. <DirectoryRef Id="i18ndir">
  11. <Directory Id="cmenuI18n" Name="cmenu" FileSource="$(var.SourceDir)">
  12. <Component Id="cmenuI18n" Guid="$(var.cmenuI18n.guid)" Win64='$(var.IsX64)'>
  13. <File Name="thg-cmenu-ca.reg" KeyPath="yes"/>
  14. <?foreach LANG in $(var.thgcmenulangs) ?>
  15. <File Name="thg-cmenu-$(var.LANG).reg" />
  16. <?endforeach?>
  17. </Component>
  18. </Directory>
  19. </DirectoryRef>
  20. </Fragment>
  21. </Wix>