如何使用 Wix 安装 Open Type 字体 [英] How to install Open Type Fonts using Wix
本文介绍了如何使用 Wix 安装 Open Type 字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在安装 MSI 时安装一组 Open Type 字体.我正在使用 Wix 创建 MSI.
I want to install a set of Open Type Fonts as part of my MSI installation. I am using Wix to create the MSI.
有什么建议吗?
推荐答案
需要指定目录FontsFolder,并在文件上设置TrueType属性:
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屋!
查看全文