Hello
I have a problem when I am trying to istall a MSI upgrde file.
When I install this file when its not an upgrade it works just fine.
The problem takes plcae when a previous version of my application is
installed and I am trying
to instal an Upgrade.
In the Middle of the Upgrade installation i get this exception :
System.IO.FileLoadException : strong name validation failed for assembly
<filename.dll>
when filename is the name of one of my dll's that holds some Custom code
(install,uninstall,rollback,commit) for one of my MSM's.
maybe someone know what can be the problem ???
Thanks
Phil Wilson - 21 Nov 2004 21:05 GMT
I think this happens when you have custom actions that are running as your
older version uninstalls, and the install is trying to call install custom
actions in another copy of the same assembly. I'm not sure that the message
is accurate, but it seems to be related to the install and uninstall both
trying to load what is the "same" assembly into the same AppDomain to call
custom actions. If the assembly naming attributes are identical in old and
new versions, what happens if you change the assemblyversion in the new
version of the product?

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
> Hello
> I have a problem when I am trying to istall a MSI upgrde file.
[quoted text clipped - 11 lines]
>
> Thanks
Ben - 22 Nov 2004 08:05 GMT
Phil Hello
I tried to change the assemblyversion in each CA file.
I also changed the names of the CA's Classes and Namespcae
but there is no change ...
I still get that annoying message.
Do you have any other suggestions ???
waiting to hear from you
Ben
>I think this happens when you have custom actions that are running as your
>older version uninstalls, and the install is trying to call install custom
[quoted text clipped - 19 lines]
>>
>> Thanks
Sergey Pikhulya - 12 Jan 2005 16:36 GMT
Hi,
I have the same problem. Have you found resolution for this problem?
Naor - 07 Jan 2007 10:12 GMT
Hi.
I've encountered with the same issue as Ben did.
It was long time ago, is there a solution to this issue?
Thanks,
Naor
From http://www.developmentnow.com/g/58_2004_11_0_0_25697/System-IO-FileLoadException
-strong-name-validation-failed-for-assembly.ht