wix incorrect font used during installation on Win

2019-05-10 06:39发布

问题:

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:

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 of Product 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.