I guess this says a lot about my WIX authoring skills :) I'll provide as
much info as I can.

Thanks,

Francesc

On Sun, Jun 6, 2010 at 5:32 PM, Rob Mensching <r...@robmensching.com> wrote:

> Wow, haven't seen a bug like that in a very long time. Can you open a bug
> and provide as much information as possible. A repro of the problem would
> be
> ideal because we've had thousands and thousands of users using it and have
> never seen that problem.
>
> On Fri, Jun 4, 2010 at 12:01 AM, Francesc Castells <
> fcaste...@dgtexperts.com
> > wrote:
>
> > Here's the error. Attached the full build log, just in case there's
> > something else. One of my changes must have introduced a problem, as it
> > used
> > to compile fine. I'll try to find out somehow.
> >
> > Task "Light"
> > Command:
> > C:\Program Files (x86)\Windows Installer XML v3\bin\Light.exe
> > -cultures:en-US -ext "C:\Program Files (x86)\Windows Installer XML
> > v3\bin\WixNetFxExtension.dll" -ext "C:\Program Files (x86)\Windows
> > Installer
> > XML v3\bin\WixUIExtension.dll" -ext "C:\Program Files (x86)\Windows
> > Installer XML v3\bin\WixFirewallExtension.dll" -ext "C:\Program Files
> > (x86)\Windows Installer XML v3\bin\WixUtilExtension.dll" -ext "C:\Program
> > Files (x86)\Windows Installer XML v3\bin\WixSqlExtension.dll" -loc
> > Localization\de-de.wxl -loc Localization\en-us.wxl -loc
> > Localization\es-es.wxl -loc Localization\fr-fr.wxl -loc
> > Localization\it-it.wxl -out
> >
> C:\svn\GII\5.0\Installer\src\Installer\bin\Release\en-US\SoftAssistant.msi
> > -pdbout
> >
> >
> C:\svn\GII\5.0\Installer\src\Installer\bin\Release\en-US\SoftAssistant.wixpdb
> > obj\Release\Files.wixobj obj\Release\Product.wixobj
> > obj\Release\WixGUI.wixobj
> > Microsoft (R) Windows Installer Xml Linker version 3.0.5419.0
> > Copyright (C) Microsoft Corporation. All rights reserved.
> > light.exe(0,0): error LGHT0001: Unable to cast object of type
> > 'System.Collections.DictionaryEntry' to type
> > 'Microsoft.Tools.WindowsInstallerXml.FileRow'.
> > Exception Type: System.InvalidCastException
> > Stack Trace:
> >   at
> >
> >
> Microsoft.Tools.WindowsInstallerXml.Binder.MergeUnrealTables(TableCollection
> > tables)
> >   at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output
> output,
> > String databaseFile)
> >   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output,
> String
> > file)
> >   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
> > Binder temporary directory located at
> > 'C:\Users\fcastells\AppData\Local\Temp\uk-utgin'.
> > Validator temporary directory located at
> > 'C:\Users\fcastells\AppData\Local\Temp\mnetm_eo'.
> > The command exited with code 1.
> >
> > Thanks,
> >
> > Francesc
> >
> > On Fri, Jun 4, 2010 at 2:15 AM, Blair <os...@live.com> wrote:
> >
> > > You will need to have your build system produce a verbose log and
> locate
> > > the
> > > error message there. That error indicates an unexpected exception was
> > > thrown, and what you have is the line that contains the error portion
> > that
> > > will be flagged by MSBuild and other similar tools as being an error.
> The
> > > related error data is found in following lines in the build spew.
> > >
> > > -----Original Message-----
> > > From: Francesc Castells [mailto:fcaste...@dgtexperts.com]
> > > Sent: Thursday, June 03, 2010 11:28 AM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] error LGHT0001: Unable to cast object
> > >
> > > Not sure. Does light log by default somewhere? that message is the only
> I
> > > get on screen.
> > >
> > > On Thu, Jun 3, 2010 at 5:42 PM, Blair <os...@live.com> wrote:
> > >
> > > > Looks like a bug. Do you have the stack trace?
> > > >
> > > > -----Original Message-----
> > > > From: Francesc Castells [mailto:fcaste...@dgtexperts.com]
> > > > Sent: Thursday, June 03, 2010 6:34 AM
> > > > To: wix users
> > > > Subject: [WiX-users] error LGHT0001: Unable to cast object
> > > >
> > > > Hi,
> > > > I'm using WIX 3.0.5419.0 in a VS project. I'm receiving the following
> > > error
> > > > when building:
> > > >
> > > > light.exe(0,0): error LGHT0001: Unable to cast object of type
> > > > 'System.Collections.DictionaryEntry' to type
> > > > 'Microsoft.Tools.WindowsInstallerXml.FileRow'.
> > > >
> > > > Google doesn't return any result for "LGHT0001 Unable to cast" and I
> > > don't
> > > > know where to start looking for the problem.
> > > >
> > > > Any tip on what to check or where the problem can be will be really
> > > > appreciated.
> > > >
> > > > Francesc
> > > >
> > > >
> > >
> > >
> >
> ----------------------------------------------------------------------------
> > > > --
> > > > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > > > lucky parental unit.  See the prize list and enter to win:
> > > > http://p.sf.net/sfu/thinkgeek-promo
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> ----------------------------------------------------------------------------
> > > --
> > > > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > > > lucky parental unit.  See the prize list and enter to win:
> > > > http://p.sf.net/sfu/thinkgeek-promo
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > >
> > >
> >
> ----------------------------------------------------------------------------
> > > --
> > > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > > lucky parental unit.  See the prize list and enter to win:
> > > http://p.sf.net/sfu/thinkgeek-promo
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > > lucky parental unit.  See the prize list and enter to win:
> > > http://p.sf.net/sfu/thinkgeek-promo
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> >
> ------------------------------------------------------------------------------
> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > lucky parental unit.  See the prize list and enter to win:
> > http://p.sf.net/sfu/thinkgeek-promo
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to