Hi,
I'm trying to write an installer in WiX for the first time and I have a
few questions about .msms and fonts. I put the fonts I install into a
merge module because they're shared across a couple of products and they
hardly ever change. Was that the right way to do it or should I put
them into a wixlib?
My other question is when I link everything together I get a warning
about my font. I think I know what the problem is but I don't see how
I'd fix it. Right now there is only one font in the msm for simplicity.
Here's the warning: light.exe : warning LGHT1076 : ICE07:
'TLArabic.ttf.4D6F9D86_D91F_4AD7_85B7_3DA18C19DCDE' is a Font and must
be installed to the FontsFolder. Current Install Directory:
'FontsFolder.4D6F9D86_D91F_4AD7_85B7_3DA18C19DCDE'
Here's the code that I think it's throwing the warning:
In my main .wxs file I have:
<!-- Windows Fonts folder -->
<Directory Id='FontsFolder'>
<Merge Id='Fonts' Language='1033' SourceFile='fonts.msm' />
</Directory>
And my merge modules xml looks like this:
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='FontsFolder' FileSource='H:\Shared Fonts' >
<Component Id='TLArabic'
Guid='1550E1EC-124B-4D88-B480-420D5D9EAF9E'>
<File Name='TLArabic.ttf' TrueType='yes' />
</Component>
</Directory>
</Directory>
Any help would be greatly appreciated.
Thanks,
Matt
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users