The issue appears to be during the stream import.  I just made a fix in this code last week but it looks like it’s not good enough.  If you can, you should debug into this issue and take a look at the lines around where the exception is thrown.  You’ll want to check the path of the file being imported to ensure it exists and we could really use some info about the Win32Exception’s NativeErrorCode property (this tells us the actual error code) so we can fix the issue.  Additionally, I’m gonna change the error reporting for these types of errors to report more information so we can do a better job debugging these issues if they arise again in the future.

 

Thanks,

Derek

 


From: Silvio Massari [mailto:[EMAIL PROTECTED]
Sent: Monday, July 03, 2006 12:01 PM
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] version 3 - error LGHT0216

 

Hi Derek,

c:\wix>light.exe -v product.wixobj
Microsoft (R) Windows Installer Xml Linker version 3.0.1828.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

Updating file information.
Generating database.
Merging modules.
Processing media information.
Creating cabinet 'C:\DOCUME~1\silvio\LOCALS~1\Temp\pbh4uup9\#product.cab'.
Cabbing file readme from 'readme.txt'.
Importing streams.
light.exe : error LGHT0216 : An unexpected Win32 exception occurred: The system cannot open the device or file specified

c:\wix>

The readme.txt file is at c:\wix folder too.

Thanks for your time.

Silvio

 

On 7/3/06, Derek Cicerone <[EMAIL PROTECTED]> wrote:

Can you run light with verbose logging on so we can get an idea of where the issue occurred?

 

Thanks,

Derek

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Silvio Massari
Sent: Monday, July 03, 2006 7:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] version 3 - error LGHT0216

 

Hi everybody,

Few days ago I began to try with version 3. But I always have the same error executing Light.  

C:\wix>candle.exe product.wxs
Microsoft (R) Windows Installer Xml Compiler version 3.0.1828.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

product.wxs

C:\wix>light.exe product.wixobj
Microsoft (R) Windows Installer Xml Linker version 3.0.1828.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

light.exe : error LGHT0216 : An unexpected Win32 exception occurred: The system cannot open the device or file specified

C:\wix>

I'm running on Windows XP with VS2003 and VS2005

Could anybody tell me where is the problem?

Thanks

Silvio.

 

 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to