Hi Mike

Thanks for looking into this for me. Really appreciate the time you have put
into this.

The difference between the two machines is, as you suspected, a difference
in the CLR runtime versions installed. The machine where it worked had both
CLR v2.0.50727 and CLR v1.1.4322 installed. It failed on the machine with
only CLR v1.1.4322 installed.

I'm just in the process of trying release 3.0.2128.0 - I'll report my
findings when complete.

Dave

-----Original Message-----
From: Mike Dimmick [mailto:[EMAIL PROTECTED] 
Sent: 12 October 2006 13:05
To: BULL, Dave, GBM; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Please ensure this is a valid assembly
fileerror:revisited (aga in)

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

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
http://www.rbos.com
http://www.rbsmarkets.com 
***********************************************************************************

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