Я не мог понять DirectoryRef - может быть, что-то изменилось за эти годы, но я плюхнул Directory в свой корень TARGETDIR и заставил его работать. В моем случае мне нужен Arial Narrow Bold на сервере:
<Directory Id="TARGETDIR" Name="SourceDir">
<!-- snip ... all my other stuff here -->
<Directory Id="FontsFolder">
<Component Id="ComponentFontArialNarrowBold" Guid="{65F4712A-EAA6-4801-9200-212A3593D6E2}">
<File Id="FileFontArialNarrowBold" Source="$(var.SolutionDir)Res\Fonts\ARIALNB.TTF" TrueType="yes" KeyPath="yes" />
</Component>
</Directory>
</Directory>
Ответ 3
Для установки шрифтов вы должны установить две части в своих кодах: