Problem with Assembly Binder.



Hello!

(Office Word 2003, Visual Studio 2005, VSTO 2005 SE)

I have a problem with a vsto word add-in. Until last week, everything worked
fine, the setup was installing everything ok. Now I modified the name of one
of my dlls, updated custom actions on setup properties. Registry keys are ok.
Symptoms:
I run setup on client machine, everything seems to install correct. But I
don't see any add-in on COM Add-Ins, or under Disabled Items on Help. In
registry everything it's ok, I can tell you that this is not the first time
when I make a setup, so in the past worked fine. All the files are installed
in the TARGET directory, I put the Register property of the Primary Output
from my project to "vsdrpCOM", I tried also with "vsdrpCOMRelativePath" si
"vsdrpCOMSelfReg". In registry, load behavior is set to 3, the CLSID is ok,
Full Trust is set due to SetSecurity and checked also with .NET Framework
Console.

Everything it's ok, no error. I set up also VSTOSUPRESS... to 0. Nothing. A
few hours ago, I found a solution to check the misterious behaviour by using
FUSLOGVW.exe. Run it, and it seems I get on one of the entries:


*** Assembly Binder Log Entry (10/3/2008 @ 6:07:28 PM) ***

The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.

Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable C:\WINDOWS\system32\MsiExec.exe
--- A detailed error log follows.

LOG: IJW explicit bind. File path:C:\Program Files\TRP\Magnon Word
Add-In\MagnonWord2003.dll.
LOG: IJW assembly bind returned file not found.


The dll is there, is strong named. I used on my development machine to set
strong name, the sn.exe -k path\nameofdllhere.dll so I wrote the pair to it.
What can I do else? I need help please cause I can't figure out what is
happening. Very very strange.

Thanks in advance.

Regards,
Nicu
.



Relevant Pages

  • Re: Editing the setup project script
    ... installer sdk. ... I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, ... When the user double-clicks on the .msi file to launch the setup, ... that suggests the registry key where the Add-in will be registered. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Is it possible to run setup file from C# code?
    ... outlook do the installing com add-in ... //if this com add-in not yet installed ... MessageBox.Show("There is no Outlook in this computer!","System ... Is it possible to run setup file from C# code? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Editing the setup project script
    ... An Everyone install registers in HKLM. ... > I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, ... > also created a setup project to install the add-in. ... > that suggests the registry key where the Add-in will be registered. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Please advice...
    ... Windows 2000 Setup cannot continue until you ... > finish installing this software. ... programs or navigate to the "Run" section in the registry under ... This will list the apps that start when windows does, ...
    (microsoft.public.win2000.new_user)
  • Running setup, I dont see my add-in
    ... I used ShimWizard to wrap my Vb.Net Excel Add-in. ... the setup write Add-in in registry ... is it normal that setup register the Shim dll instead of my ...
    (microsoft.public.office.developer.com.add_ins)