Thanks for the reply Oleg.
I've now tried your suggestion (file by itself with an attributesdefinition) as well as keeping the %FontsFolder% directory with the aforementioned file with attribute, neither of which have successfully installed a font.
In the wix source file that was generated by wix#, it translated to the following (just the file by itself with attributesdefinition):
Thanks
David
I've now tried your suggestion (file by itself with an attributesdefinition) as well as keeping the %FontsFolder% directory with the aforementioned file with attribute, neither of which have successfully installed a font.
In the wix source file that was generated by wix#, it translated to the following (just the file by itself with attributesdefinition):
<Component Id="Component.Roboto-Bold.ttf" Guid="6f330b47-2577-43ad-9095-1861186d24b2">
<File Id="Roboto-Bold.ttf" Source="..\..\..\..\..\..\..\..\..\Windows\Fonts\Roboto-Bold.ttf" TrueType="yes" />
</Component>
My other setup project where I successfully install a font file ( straight wix, not wix#), has the following:<DirectoryRef Id="FontsFolder">
<Component Id="InstallFonts" Guid="{1C3139F1-C745-45D9-820D-68ABD9EBD48F}">
<File Id="RobotoLight.TTF" Source="C:\Windows\Fonts\Roboto-Light.ttf" TrueType="yes" />
</Component>
</DirectoryRef>
Are the extra "........\" that show up in the source location for the font generated by wix# the culprit?Thanks
David