Kevin,

You might want to make use of fragments if the file names are localized
or use localization files if appropriate.  I'm not sure what you are
trying to accomplish so it's hard to provide an example.  There is some
documentation on localization files at
http://wix.mindcapers.com/wiki/Localization, might be worth a look.

Julie Campbell
[EMAIL PROTECTED]

> -----Original Message-----
> From: Kevin Richardson [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 12:12 AM
> To: [EMAIL PROTECTED]
> Cc: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] LGHT0095 error with FeatureRef
> 
> Thanks Julie.
> 
> The example you gave is what I fell back on. Unfortunately, we pull in
> (localized) files dynamically and those tools make heavy use of the
> FeatureRef/ComponentRef structure that apparently only works in WiX2.
> 
> I believe Bob's webpage mentioned adding support for <Component
> Id="blah" ... Feature="feature"/> so hopefully I can just make use of
> that instead.
> 
> -kevin
> 
> 
> On Jan 13, 2008, at 8:45 PM, Julie Campbell wrote:
> 
> > Kevin,
> >
> > I've not used WiX v2, but the usage of the FeatureRef element below
is
> > incorrect, whether you or the converter authored it.  FeatureRef is
> > for
> > referencing a feature defined in a different fragment.  How about
this
> > replacement:
> >
> >>     <Feature Id="OnlyFeature" Title="Feature" Level="1"
> >> ConfigurableDirectory="INSTALLDIR" Absent="disallow" />
> >>     <FeatureRef Id="OnlyFeature">
> >>        <ComponentRef Id="File1.exe" />
> >>        <ComponentRef Id="File1.dll" />
> >>        <ComponentRef Id="File2.dll" />
> >>        <ComponentRef Id="File3.dll" />
> >>        <ComponentRef Id="InstallerCache" />
> >>     </FeatureRef>
> >
> > <Feature Id="OnlyFeature" Title="Feature" Level="1"
> > ConfigurableDirectory="INSTALLDIR" Absent="disallow" />
> >         <ComponentRef Id="File1.exe" />
> >         <ComponentRef Id="File1.dll" />
> >         <ComponentRef Id="File2.dll" />
> >         <ComponentRef Id="File3.dll" />
> >         <ComponentRef Id="InstallerCache" />
> > </Feature>
> >
> > Perhaps this is a v2/v3 nuance?
> 
>
________________________________________________________________________
__
> ___
> Scanned by IBM Email Security Management Services powered by
MessageLabs.
> For more information please visit http://www.ers.ibm.com
>
________________________________________________________________________
__
> ___


_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com
_____________________________________________________________________________

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to