Thanks for the info. I appreciate it.
I am amazed, though. I can understand maybe in v. 1.0 it might be like
this. But how did this bug make it all the way to 1.1 SP1?
Is there any better work-around for this? Changing the name of the
assembly is overkill to say the least. Is there a programatic way to
deal with this?
Thanks again.
No, I don't believe so. There's been some discussion about detours but there
doesn't seem to be one. Internally, VS builds an MSI that calls a shim DLL
that then loads your assembly, apparently using Assembly.LoadFrom, not
Assembly.Load. The result is that you can't change something like the strong
name or assemblyversion to get the new version because the LoadFrom is just
a path with no other assembly definition. It's not a framework issue. IMO
it's an issue with the shim DLL that sits between MSI and your custom action
code. If it used Assembly.Load with assembly specs like strong name, you
could detour it; if it used separate AppDomains for the install and
uninstall steps, that might work too, but that's just my speculation.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
> Thanks for the info. I appreciate it.
>
[quoted text clipped - 6 lines]
>
> Thanks again.
GoogleNewsReaderMan - 28 Jan 2005 18:33 GMT
Here is a "work-around" so to speak.
If you want to remove previous versions on a new install, then if you
have any custom actions for uninstall, then the problem described in
this thread arrises.
If you use 2 separate installers, in 2 separate assemblies -- one
installer used for uninstalling actions, and one installer for
installing actions, then the proper versions of assemblies will be
used.
It's crazy, but it is the best solution I can come up with.