The reason it doesn't happen under 2.0 is that different code is used to extract the AssemblyName etc when running on 2.0 or later than on 1.1. That code does not report errors when it cannot extract the assembly name, but simply fails silently.
This means that when you do specify Assembly=".net", but the file is not a valid .NET assembly, WiX happily adds it to the MsiAssembly table, with the MsiAssemblyName entries missing for that component. This also occurs in 3.0.2128.0. I'm not sure what will happen at install time. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick Sent: 12 October 2006 12:39 To: BULL, Dave, GBM; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Please ensure this is a valid assembly fileerror:revisited (aga in) Do you have the same versions of .NET Framework installed on both machines? The .config files for most of the tools suggest that CLR 2.0 should be used if available, falling back to 1.1 if not. I have both installed. Otherwise, as the tools are compiled with the .NET 1.1 C# compiler, they would run on 1.1 if both versions of the Framework are installed. Interestingly, the <supportedRuntime> element for CLR 2.0 was commented out of light.exe.config on my copy of 3.0.2015.0. I don't remember doing this, but I suppose I must have: the version in the binaries ZIP file is uncommented and therefore active. Uncommenting this, and therefore running light on CLR 2.0, seems to fix the problem. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BULL, Dave, GBM Sent: 11 October 2006 16:58 To: 'wix-users@lists.sourceforge.net' Subject: [WiX-users] Please ensure this is a valid assembly file error:revisited (aga in) I've fixed the problem by adding the -sa switch to Light.exe. Question is, why do I have to do this on one machine but not the other? Dave ------------------------------------------------------------------------- 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