Here is a complete sample which works with my fonts
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="a4ef658f-664b-45f9-8599-cdb70a87de99" Name="TrueType Font
Install" Language="1033" Version="1.0.0.0" Manufacturer="Stefan Weber"
UpgradeCode="65257742-27b4-42f5-bea9-160106946fdd">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
/>
<!-- Font Dateien in eine Cabinet Datei komprimieren (Cabinet) und
anschliessend die Cabinet Datei in die MSI Datei integrieren -->
<Media Id="1" Cabinet="FontFiles.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<!-- FontsFolder ist eine Standard Property -->
<Directory Id="FontsFolder" />
</Directory>
<DirectoryRef Id="FontsFolder">
<Component Id="InstallFonts" Guid="b831718a-9718-45e1-b47d-4d4d1bc04507">
<File Id="font1.TTF" Source="fonts\font1.ttf" TrueType="yes" />
<File Id="font2.TTF" Source="fonts\font2.ttf" TrueType="yes" />
</Component>
</DirectoryRef>
<Feature Id="FontsInstallation" Title="Install and Register Company Fonts"
Level="1">
<ComponentRef Id="InstallFonts"/>
</Feature>
</Product>
</Wix>
-----Ursprüngliche Nachricht-----
Von: xfishxi [mailto:[email protected]]
Gesendet: Mittwoch, 11. März 2009 03:49
An: wix-users
Cc: [email protected]
Betreff: Re: [WiX-users] how to install Fonts in WIX? (Weber Stefan (IT))
hi Stefan,
thanks for your help, i follow your advise and do it again, unfortunately it
failed , the two fonts can't copy(install) to the
%WINDOWS%\FONTS , how can i do?
thanks
vincent
================================================================
>Hi Vincent,
>
>for TrueType Fonts you can use this
>
><DirectoryRef Id="FontsFolder">
> <Component Id="InstallFonts" Guid="YOUR-GUID-HERE">
> <File Id="font1.TTF" Source="fonts\font1.ttf" TrueType="yes" />
> <File Id="font2.TTF" Source="fonts\font2.ttf" TrueType="yes" />
> </Component>
></DirectoryRef>
>
>Stefan
>
>-----Urspr?ngliche Nachricht-----
>Von: xfishxi [mailto:[email protected]]
>Gesendet: Dienstag, 10. M?rz 2009 04:10
>An: wix-users
>Betreff: [WiX-users] how to install Fonts in WIX?
>
>hi
>
>I'm use wix to generate my MSI Installer, our product needs to use two
>Fonts(SIMYOU.TTF and STHUPO.TTF), so we
>
>need to install these two fonts into the system folder(%WINDOWS\FONTS%), now i
>write a InstallFonts function
>
>in an extra executable, and invoke this executable in WIX as a Custom Action,
>but i think this solution is not good,
>
>i believe that WIX can do the same thing, but i don't know how to do it with
>WIX, so does anyone can help me,
>
>i appreciate for any help,
>
>thanks
>
>vincent
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users