在基本安装模式“ msiexe /i MyInstaller.msi /qb ”期间,我在 MSI 进度对话框中看到的是方框而不是字符。有没有办法更改“基本”MSI 对话框中使用的字体 TTF/FontFace?
1) 微星日志
MSI (c) (A4:EC) [14:38:59:636]:字体已创建。字符集:Req=1,Ret=0,字体:Req=,Ret=Arial
MSI (c) (A4:EC) [14:38:59:636]:字体已创建。字符集:Req=1,Ret=1,字体:Req=Estrangelo Edessa,Ret=Estrangelo Edessa
2) 我打开了 Arial 和 Estrangelo Edessa TTF ( C:\WINDOWS\Fonts - Win XP SP3 ),果然,Arial 工作正常但 Estrangelo Edessa 字体显示为方框。在 Windows Vista 或 Windows 7 上不会发生这种情况。此外,似乎可以通过安装东亚和复杂脚本语言包来解决(“控制面板”>“区域和语言选项”>“语言”(选项卡))。对于我们所有的用户来说,这并不是一个友好的解决方案。
如有任何帮助,我们将不胜感激:)
During basic install mode " msiexe /i MyInstaller.msi /qb " I get boxes instead of characters in the MSI progress dialog. Is there a way to change which Font TTF / FontFace is being used in the 'basic' MSI dialog ?
1) msi log
MSI (c) (A4:EC) [14:38:59:636]: Font created. Charset: Req=1, Ret=0, Font: Req=, Ret=Arial
MSI (c) (A4:EC) [14:38:59:636]: Font created. Charset: Req=1, Ret=1, Font: Req=Estrangelo Edessa, Ret=Estrangelo Edessa
2) I opened the Arial and Estrangelo Edessa TTFs ( C:\WINDOWS\Fonts - Win XP SP3 ) and sure enough, Arial works fine but Estrangelo Edessa font shows up as boxes. This doesn't happen on Windows Vista or Windows 7. Also, seems to be solved by installing the East Asian and complex script language packs ( Control Panel > Regional and Language Options > Languages (tab) ). This isn't exactly a friendly solution for all of our users.
Any help is appreciated :)
发布评论
评论(1)
很可能您的包中的代码页设置不正确。 WiX 文档中的代码页文章介绍了如何使用代码页。
如果您的软件包的 GUI 界面仅使用英语,则设置 Codepage 属性.htm" rel="nofollow">
Product
元素更改为 1252。如果您的软件包使用东亚或复杂脚本作为其 UI 语言,则唯一的选择是从控制面板安装对它们的支持。 Windows Vista 和 Windows 7 已预安装此支持。
Most probably you have an incorrectly set code page in your package. Code Pages article in WiX documentation explains how to work with code pages.
If your package uses only English for its GUI interface, then set
Codepage
attribute ofProduct
element to 1252.If your package uses East Asian or complex script for its UI language, then the only option is to install the support for them from Control Panel. Windows Vista and Windows 7 have this support preinstalled.