如何使用Wix安装Open Type字体 [英] How to install Open Type Fonts using Wix

查看:186
本文介绍了如何使用Wix安装Open Type字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在msi istallation中安装一组Open Type字体,我正在使用Wix创建msi。 >

解决方案

您需要指定目录FontsFolder,并在文件上设置TrueType属性:

 < DirectoryRef Id =FontsFolder> 
< Component Id =MyFontsFontsGuid =...>
< File Id =font1.ttfSource =font1.ttfTrueType =yes/>
< File Id =font2.ttfSource =font2.ttfTrueType =yes/>
< / Component>
< / DirectoryRef>


I want to install a set of Open Type Fonts as part of my msi istallation, I am using Wix to create the msi.

Any advice?

解决方案

You need to specify the directory FontsFolder, and set the TrueType attribute on the file:

<DirectoryRef Id="FontsFolder">
  <Component Id="MyFontsFonts" Guid="...">
    <File Id="font1.ttf" Source="font1.ttf" TrueType="yes" />
    <File Id="font2.ttf" Source="font2.ttf" TrueType="yes" />
  </Component>
</DirectoryRef>

这篇关于如何使用Wix安装Open Type字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆