Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: How to install fonts?

$
0
0
I could not find an example.

I attempt the following:
 var project = new Project("MyProgram",
                new Dir(@"%ProgramFiles%\My Company, Inc.\MyProgram",
                new Files(@"C:\Users\ddavi\Documents\Visual Studio 2015\Projects\MyProgram\Test\bin\debug\*.dll"),
                new File(@"C:\Users\ddavi\Documents\Visual Studio 2015\Projects\MyProgram\Test\bin\Debug\MyProgram.exe")),
                new Dir(@"%FontsFolder%", new File(@"C:\Windows\Fonts\Roboto-Bold.ttf")));
The program installs fine, but I do not see the font being installed even after rebooting the machine. In Wix you have to specify that the font file is truetype, etc. I do not see an option for such a thing? What is the correct way to install a font through wixsharp?

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>