Something like this works for me: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="FontsFolder" /> </Directory>
<DirectoryRef Id="FontsFolder"> <Component Id="MyFont.ttf" Guid="YOUR-GUID-HERE"> <File TrueType="yes" Name=" MyFont.ttf" KeyPath="yes" /> </Component> </DirectoryRef> Neil -----Original Message----- From: xfishxi [mailto:xfis...@yeah.net] Sent: 11 March 2009 02:49 To: wix-users Cc: ste...@lists.sourceforge.net Subject: 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:xfis...@yeah.net] >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 WiX-users@lists.sourceforge.net 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users