Bugs item #1835329, was opened at 2007-11-20 19:05
Message generated for change (Settings changed) made by barnson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1835329&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: None
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: vdb (gregoryv)
Assigned to: pmarcu (pmarcu)
Summary: provide name of file when hitting LIGHT error LGHT0216

Initial Comment:
When using wix v3.0.3108.0 and calling light the following command line:
light.exe -nologo  -sice:ICE03  -v -ext WixIIsExtension -cultures:en-us -out 
objd\i386\xxx.msi objd\i386\xxx.wixobj

Light will fail with the following error if a file is in use, without providing 
the file name to help debugging (including when the ā€œ-vā€ option is specified):
light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x20 
occurred: The process cannot access the file because it is being used by 
another process

This is the stack of the error

0012edc4 0336d025 
Microsoft.Tools.WindowsInstallerXml.Msi.Installer.GetFileHash(System.String, 
Int32, Int32[] ByRef)
0012edf0 0336b0ec 
Microsoft.Tools.WindowsInstallerXml.Binder.UpdateFileInformation(Microsoft.Tools.WindowsInstallerXml.Output,
 Microsoft.Tools.WindowsInstallerXml.FileRowCollection, 
Microsoft.Tools.WindowsInstallerXml.MediaRowCollection)
0012f0ac 03366ca5 
Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Microsoft.Tools.WindowsInstallerXml.Output,
 System.String)
0012f2c0 03365b5f 
Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Microsoft.Tools.WindowsInstallerXml.Output,
 System.String)
0012f2c8 00e820fd 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(System.String[])
0012f47c 00e80094 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Main(System.String[])


If possible, it would be nice to provide the file name along with the error 
message to help debugging.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1835329&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to