I had the same problem with 3.0.2015.0. Try 3.0.2128.0.

For my converted copy of the tutorial UI sample, Candle generates the
same output (except that the order of references to the Media table is
different). Light has the same result regardless of which .wixobj I use,
the one generated with 2015 or the one generated with 2128 - light
3.0.2015.0 fails with LGHT0132 errors, light 3.0.2128.0 succeeds.

Light/the binder (3.0.2015.0) is trying to extract assembly information
from files that aren't even PE files: one of the files in the sample is
a PDF, and a LGHT0132 error occurs on that file.

I think I've found the change that fixes this:

When the WixFile data is being merged into the File data (WixFile data
is anything on the <File> element that isn't in the MSI File table) the
AssemblyType field of the FileRow object is set using an enumerated
value. If the File/@Assembly attribute is not present or 'no', the
resulting field in the .wixobj is null. In 3.0.2015.0, if the field is
null, the default value is used - the CLR defaults all fields of an
object to 0 or null. For the AssemblyType field, 0 means
FileAssemblyType.DotNetAssembly.

In 3.0.2128.0, the value is set explicitly to
FileAssemblyType.NotAnAssembly if the field in the .wixobj file is null.

-- 
Mike Dimmick 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of BULL,
Dave, GBM
Sent: 11 October 2006 16:15
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Please ensure this is a valid assembly file
error:revisited

Hi

Following my last post on the 15th September, I am still having this
problem.

I'm using version 3.0.2015.0 of Wix and am getting the following message
when I light the wixobj:

error LGHT0132 : The assembly file 'blah.dll' appears to be invalid.
Please ensure this is a valid assembly file and that the user has the
appropriate access rights to this file.  More information: The format of
the file 'blah.dll' is invalid.

-------------------------------------------------------------------------
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