Discussion:
[WiX-users] Build 3.5.2229.0 : give me the following error: error LGHT0216: An unexpected Win32 exception with error code 0x65B occurred: Function failed during execution
Brian Pang
2010-11-05 00:21:50 UTC
Permalink
How to figure out what is the problem?

I am getting this in the compile:

------ Rebuild All started: Project: desktop, Configuration: Debug x86 ------
C:\Program Files\Windows Installer XML v3.5\bin\candle.exe -v -dDebug
-d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\\"
-dSolutionDir=C:\buildsvn\main_wix\workDir\wix\desktop\ -dSolutionExt=.sln
-dSolutionFileName=desktop.sln -dSolutionName=desktop
-dSolutionPath=C:\buildsvn\main_wix\workDir\wix\desktop\desktop.sln
-dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86
-dProjectDir=C:\buildsvn\main_wix\workDir\wix\desktop\ -dProjectExt=.wixproj
-dProjectFileName=desktop.wixproj -dProjectName=desktop
-dProjectPath=C:\buildsvn\main_wix\workDir\wix\desktop\desktop.wixproj
-dTargetDir=C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\ -dTargetExt=.msi
-dTargetFileName=desktop.msi -dTargetName=desktop
-dTargetPath=C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.msi -out
obj\Debug\ -pedantic -arch x86 fragments\customaction.wxs fragments\desktop.wxs
fragments\document.wxs fragments\registry.wxs fragments\shortcut.wxs
fragments\strings.wxs fragments\system.wxs fragments\ui.wxs Product.wxs
obj\Debug\Product.Generated.wxs
C:\Program Files\Windows Installer XML v3.5\bin\Light.exe -v -cultures:null -out
C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.msi -pdbout
C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.wixpdb -pedantic
-sice:ICE09 -ext WixUIExtension obj\Debug\customaction.wixobj
obj\Debug\desktop.wixobj obj\Debug\document.wixobj obj\Debug\registry.wixobj
obj\Debug\shortcut.wixobj obj\Debug\strings.wixobj obj\Debug\system.wixobj
obj\Debug\ui.wixobj obj\Debug\Product.wixobj obj\Debug\Product.Generated.wixobj
light.exe(0,0): error LGHT0216: An unexpected Win32 exception with error code
0x65B occurred: Function failed during execution
Done building project "desktop.wixproj" -- FAILED.

Build FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Rob Mensching
2010-11-05 13:30:33 UTC
Permalink
What version of the WiX toolset were you using previously? My first
hypothesis is that validation is failing. Can you try adding "-sval" to the
command line (Suppress Validation checkbox in Votive)? If that works, you'll
probably want to find another way of running validation on your MSI.
smoke.exe can do just that.
Post by Brian Pang
How to figure out what is the problem?
------ Rebuild All started: Project: desktop, Configuration: Debug x86 ------
C:\Program Files\Windows Installer XML v3.5\bin\candle.exe -v -dDebug
-d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\\"
-dSolutionDir=C:\buildsvn\main_wix\workDir\wix\desktop\ -dSolutionExt=.sln
-dSolutionFileName=desktop.sln -dSolutionName=desktop
-dSolutionPath=C:\buildsvn\main_wix\workDir\wix\desktop\desktop.sln
-dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86
-dProjectDir=C:\buildsvn\main_wix\workDir\wix\desktop\
-dProjectExt=.wixproj
-dProjectFileName=desktop.wixproj -dProjectName=desktop
-dProjectPath=C:\buildsvn\main_wix\workDir\wix\desktop\desktop.wixproj
-dTargetDir=C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\ -dTargetExt=.msi
-dTargetFileName=desktop.msi -dTargetName=desktop
-dTargetPath=C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.msi -out
obj\Debug\ -pedantic -arch x86 fragments\customaction.wxs
fragments\desktop.wxs
fragments\document.wxs fragments\registry.wxs fragments\shortcut.wxs
fragments\strings.wxs fragments\system.wxs fragments\ui.wxs Product.wxs
obj\Debug\Product.Generated.wxs
C:\Program Files\Windows Installer XML v3.5\bin\Light.exe -v -cultures:null -out
C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.msi -pdbout
C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.wixpdb -pedantic
-sice:ICE09 -ext WixUIExtension obj\Debug\customaction.wixobj
obj\Debug\desktop.wixobj obj\Debug\document.wixobj
obj\Debug\registry.wixobj
obj\Debug\shortcut.wixobj obj\Debug\strings.wixobj obj\Debug\system.wixobj
obj\Debug\ui.wixobj obj\Debug\Product.wixobj
obj\Debug\Product.Generated.wixobj
light.exe(0,0): error LGHT0216: An unexpected Win32 exception with error code
0x65B occurred: Function failed during execution
Done building project "desktop.wixproj" -- FAILED.
Build FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
virtually, Rob Mensching - http://RobMensching.com LLC
Brian Pang
2010-11-05 18:54:37 UTC
Permalink
I was using 3.5.2208.0 and I moved my original solution file to a C: drive for
integration testing.
The recompile got me the error LGHT0216 with code 0x65B occurred.
So, I thought maybe if I upgrade to the latest 3.5.2229.0, the problem would go
away, but it did not.

What I did was I added "-sval" in the Visual Studio for Additional parameters
for the Compiler: , now, I can see the errors and warnings, which was hidden
before.
It was telling me I had a duplicated GUID id in my file; After fixing that I am
able to generate the msi file.

Thank you, Rob!


Brian



________________________________
From: Rob Mensching <***@robmensching.com>
To: General discussion for Windows Installer XML toolset.
<wix-***@lists.sourceforge.net>
Sent: Fri, November 5, 2010 6:30:33 AM
Subject: Re: [WiX-users] Build 3.5.2229.0 : give me the following error: error
LGHT0216: An unexpected Win32 exception with error code 0x65B occurred: Function
failed during execution

What version of the WiX toolset were you using previously? My first
hypothesis is that validation is failing. Can you try adding "-sval" to the
command line (Suppress Validation checkbox in Votive)? If that works, you'll
probably want to find another way of running validation on your MSI.
smoke.exe can do just that.
Post by Brian Pang
How to figure out what is the problem?
------ Rebuild All started: Project: desktop, Configuration: Debug x86 ------
C:\Program Files\Windows Installer XML v3.5\bin\candle.exe -v -dDebug
-d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\\"
-dSolutionDir=C:\buildsvn\main_wix\workDir\wix\desktop\ -dSolutionExt=.sln
-dSolutionFileName=desktop.sln -dSolutionName=desktop
-dSolutionPath=C:\buildsvn\main_wix\workDir\wix\desktop\desktop.sln
-dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86
-dProjectDir=C:\buildsvn\main_wix\workDir\wix\desktop\
-dProjectExt=.wixproj
-dProjectFileName=desktop.wixproj -dProjectName=desktop
-dProjectPath=C:\buildsvn\main_wix\workDir\wix\desktop\desktop.wixproj
-dTargetDir=C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\ -dTargetExt=.msi
-dTargetFileName=desktop.msi -dTargetName=desktop
-dTargetPath=C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.msi -out
obj\Debug\ -pedantic -arch x86 fragments\customaction.wxs
fragments\desktop.wxs
fragments\document.wxs fragments\registry.wxs fragments\shortcut.wxs
fragments\strings.wxs fragments\system.wxs fragments\ui.wxs Product.wxs
obj\Debug\Product.Generated.wxs
C:\Program Files\Windows Installer XML v3.5\bin\Light.exe -v -cultures:null -out
C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.msi -pdbout
C:\buildsvn\main_wix\workDir\wix\desktop\bin\Debug\desktop.wixpdb -pedantic
-sice:ICE09 -ext WixUIExtension obj\Debug\customaction.wixobj
obj\Debug\desktop.wixobj obj\Debug\document.wixobj
obj\Debug\registry.wixobj
obj\Debug\shortcut.wixobj obj\Debug\strings.wixobj obj\Debug\system.wixobj
obj\Debug\ui.wixobj obj\Debug\Product.wixobj
obj\Debug\Product.Generated.wixobj
light.exe(0,0): error LGHT0216: An unexpected Win32 exception with error code
0x65B occurred: Function failed during execution
Done building project "desktop.wixproj" -- FAILED.
Build FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
virtually, Rob Mensching - http://RobMensching.com LLC
Loading...