Hi James,

Yes, we're referencing the DLL in the project. Here's our situation:

- We have an existing WIX installer that we are already using to
deliver a product to customers, originally created with Visual Studio
2008 and WIX 3

- We're adding to the installer now, part of the additions being to
edit our Product.exe.config file upon install, so we want to use the
XmlFile functions to do that.

- Most of our developers have upgraded to Visual Studio 2010, which
more or less necessitated upgrading WIX to 3.5, but a few have not so
we have both sorts of dev systems available (and therefore, obviously,
two 'solutions')

- We added xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
to our wix code, and made sure the WixUtilExtension.dll is referenced
in our project (it already was, but we deleted it and re-added it just
to be completely sure)

- We've added sample code to our installer that tries to use util:XmlFile

- Given all that, the VC2008/Wix 3.0 version compiles and the
VC2010/Wix 3.5 does not. Near as we can tell everything is equivalent
but compiler version and Wix version.

This is just one of those weird problems that's "fun" to try and track down.

Thanks...



On Thu, Aug 26, 2010 at 6:52 PM, James Kessler <kessl...@gmail.com> wrote:
> Are you referencing the dll in your Visual Studio project?
>
>
> On Thu, Aug 26, 2010 at 3:29 PM, Dave DaveLists <dbfli...@gmail.com> wrote:
>
>> Thanks for the response Chad. I do indeed have the xmlns:util setup at
>> the top of my WIX source file. Do you use WIX 3.0 or 3.5? We moved to
>> Visual Studio 2010 with WIX 3.5, but interestingly enough a machine
>> that still has Visual 2008 and WIX 3.0 works fine with the same code
>> (XmlFile and all).
>>
>> -Dave
>>
>> On Thu, Aug 26, 2010 at 11:42 AM, Chad Petersen
>> <chad.peter...@harlandfs.com> wrote:
>> > Try adding the xmlns:util="
>> http://schemas.microsoft.com/wix/UtilExtension"; schema to the top of the
>> file that has the XmlFile element in it.
>> >
>> > Mine looks like this
>> >
>> > <Wix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="
>> http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="
>> http://schemas.microsoft.com/wix/UtilExtension";>
>> >
>> > -----Original Message-----
>> > From: Dave DaveLists [mailto:dbfli...@gmail.com]
>> > Sent: Wednesday, August 25, 2010 8:50 AM
>> > To: General discussion for Windows Installer XML toolset.
>> > Subject: Re: [WiX-users] Question about using XmlFile
>> (WixUtilExtension.dll in general, actually)
>> >
>> > Ah, yes, sorry. It is a wix compiler error:
>> >
>> > The Component element contains an unhandled extension element
>> > 'util:XmlFile'.  Please ensure that the extension for elements in the
>> > 'http:⁄⁄schemas.microsoft.com⁄wix⁄UtilExtension' namespace has been
>> > provided.
>> >
>> > I googled this line and found a few references to it but the
>> > suggestion was always to add a reference to WixUtilExtension.dll,
>> > which we already have. We tried deleting it and putting it back in
>> > manually but this did not help (and I verified that the DLL is in the
>> > directory where candle and light are, just to be sure).
>> >
>> > Thanks,
>> >
>> > -Dave
>> >
>> > On Tue, Aug 24, 2010 at 6:16 PM, Bob Arnson <b...@joyofsetup.com> wrote:
>> >>  On 24-Aug-10 21:00, Dave DaveLists wrote:
>> >>> we expected to be able to reference XmlFile using util:XmlFile but
>> >>> this is failing at compile time.
>> >>
>> >> It might help if you described how it was failing...
>> >>
>> >> --
>> >> sig://boB
>> >> http://joyofsetup.com/
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> >> Be part of this innovative community and reach millions of netbook users
>> >> worldwide. Take advantage of special opportunities to increase revenue
>> and
>> >> speed time-to-market. Join now, and jumpstart your future.
>> >> http://p.sf.net/sfu/intel-atom-d2d
>> >> _______________________________________________
>> >> WiX-users mailing list
>> >> WiX-users@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wix-users
>> >>
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> > Be part of this innovative community and reach millions of netbook users
>> > worldwide. Take advantage of special opportunities to increase revenue
>> and
>> > speed time-to-market. Join now, and jumpstart your future.
>> > http://p.sf.net/sfu/intel-atom-d2d
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>> ------------------------------------------------------------------------------
>> > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> > Be part of this innovative community and reach millions of netbook users
>> > worldwide. Take advantage of special opportunities to increase revenue
>> and
>> > speed time-to-market. Join now, and jumpstart your future.
>> > http://p.sf.net/sfu/intel-atom-d2d
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to