this most likely has nothing to do with wix per se, but open the file and
fix the validation error. You might get a clue to how it got corrupted by
looking at what part of the file needs fixing.

On Tue, Jun 2, 2009 at 12:08 PM, Jiang, Chunyan (GE Healthcare) <
chunyan.ji...@ge.com> wrote:

> Thank you for your hint!
>
> Could you please tell me how to update or recover machine.config?
>
> -----Ursprüngliche Nachricht-----
> Von: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com]
> Gesendet: Dienstag, 2. Juni 2009 11:01
> An: General discussion for Windows Installer XML toolset.
> Betreff: Re: [WiX-users] Why error CNDL0001: Invalid XML in file
>
> sounds like your machine.config is busted for whatever reason
>
> On Tue, Jun 2, 2009 at 11:35 AM, Jiang, Chunyan (GE Healthcare) <
> chunyan.ji...@ge.com> wrote:
>
> > Hi wix-users,
> >
> > I am new for wix. I just try to use wix and generate the first sample
> > wix project with visual studio. It is a simple wix project and only
> > one file copied to ProgramFilesFolder. However, I got the following
> > error when compiling:
> >
> > ------ Build started: Project: WixProject, Configuration: Debug x86
> > ------
> >
> > C:\Program Files\Windows Installer XML v3\bin\candle.exe -dDebug
> > -d"DevEnvDir=D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\\"
> > -dSolutionDir=D:\Project\WixProject\ -dSolutionExt=.sln
> > -dSolutionFileName=WixProject.sln -dSolutionName=WixProject
> > -dSolutionPath=D:\Project\WixProject\WixProject.sln
> > -dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86
> > -dProjectDir=D:\Project\WixProject\WixProject\ -dProjectExt=.wixproj
> > -dProjectFileName=WixProject.wixproj -dProjectName=WixProject
> > -dProjectPath=D:\Project\WixProject\WixProject\WixProject.wixproj
> > -dTargetDir=D:\Project\WixProject\WixProject\bin\Debug\
> > -dTargetExt=.msi -dTargetFileName=WixProject.msi
> > -dTargetName=WixProject
> > -dTargetPath=D:\Project\WixProject\WixProject\bin\Debug\WixProject.msi
> > -out obj\Debug\Product.wixobj -arch x86 -ext "C:\Program Files\Windows
> > Installer XML v3\bin\WixUIExtension.dll" Product.wxs
> >
> > candle.exe(0,0): error CNDL0001: Invalid XML in file
> > 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config'
> > near element '</add>'.
> >
> > Done building project "WixProject.wixproj" -- FAILED.
> >
> > Build FAILED
> >
> > If I use command line to compile, I got another error:
> >
> > candle.exe : error CNDL0103 : The system cannot find the file
> > 'project.wxs' with type 'Source'.
> >
> > Could some one tell me how to get rid of this error? Thanks!
> >
> >
> >
> > Chunyan
> >
> >
> > ----------------------------------------------------------------------
> > -------- OpenSolaris 2009.06 is a cutting edge operating system for
> > enterprises looking to deploy the next generation of Solaris that
> > includes the latest innovations from Sun and the OpenSource community.
> > Download a copy and enjoy capabilities such as Networking, Storage and
> > Virtualization.
> > Go to: http://p.sf.net/sfu/opensolaris-get
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and enjoy
> capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to