Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
On 02-Sep-10 17:12, Dave DaveLists wrote: > Thanks for the thought. I checked this out when I started having > trouble, actually, along with removing the reference and putting it > back in manually. But it is indeed present on the command line. Never seen that. It might be a problem with upgrading the .wixproj to Votive 2010; try it in a new project. Or from the command line to isolate the problem. -- sig://boB http://joyofsetup.com/ -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
Hi Bob, Thanks for the thought. I checked this out when I started having trouble, actually, along with removing the reference and putting it back in manually. But it is indeed present on the command line. -Dave On Thu, Sep 2, 2010 at 6:03 AM, Bob Arnson wrote: > On 27-Aug-10 13:53, Dave DaveLists wrote: >> Yes, we're referencing the DLL in the project. > > Take a look at a verbose MSBuild log to see what -ext switches are being > passed to Candle.exe. My bet is that the reference isn't turning into an > -ext switch. > > -- > sig://boB > http://joyofsetup.com/ > > > -- > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
On 27-Aug-10 13:53, Dave DaveLists wrote: > Yes, we're referencing the DLL in the project. Take a look at a verbose MSBuild log to see what -ext switches are being passed to Candle.exe. My bet is that the reference isn't turning into an -ext switch. -- sig://boB http://joyofsetup.com/ -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
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 wrote: > Are you referencing the dll in your Visual Studio project? > > > On Thu, Aug 26, 2010 at 3:29 PM, Dave DaveLists 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 >> 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 >> > >> > 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 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
Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
Are you referencing the dll in your Visual Studio project? On Thu, Aug 26, 2010 at 3:29 PM, Dave DaveLists 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 > 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 > > > > 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 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.
Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
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 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 > > 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 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
Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
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 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 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
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 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
Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)
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