The question I always ask is: do you have to support products that will be
built using other toolsets besides the version of WiX you are using? If not,
the answer almost always is: use wixlibs.

The only reason I can see that someone would be forced to use Merge Modules
is when they have to deliver their bits to people that are using some
arbitrary other toolset to build their MSIs. Otherwise, there is some means
of using wixlibs that will solve every situation that you thought you needed
a merge module for.

The ICE tests don't recognize directories that are defined in Merge Modules.
If you keep the merge module, you would need to ignore that warning.

-----Original Message-----
From: Matt Mitchell [mailto:mmitch...@transparent.com] 
Sent: Monday, November 23, 2009 8:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Fonts and MergeModules

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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to