Installation error (Office 7.0 assembly not found)

Add-in Express™ Support Service
That's what is more important than anything else

Installation error (Office 7.0 assembly not found)
 
Constantin Lazarev




Posts: 6
Joined: 2006-02-06
Hello.
My Setup Project is created with Setup.txt reading. Step by step.
VS 2005, Office 2003. ADX Release 2.3 Build 1754. I build a sample AddIn (MyFirstAddin) and its Setup project.

1.Destination machine has no installed Office.dll 7.0 in GAC
2.Try to Install this Addin

But it fails with "Could not load file or assembly 'Office, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
If I press "continue" (not cancel) "installation successful" message appeares and Office.dll(7.0) is registered in GAC.

What is the problem?

Posted 07 Mar, 2006 10:09:30 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Constantin.

Do you have Office.dll (v7.0.3300.0) included in the Application folder of the setup project? if you have both Office.dll v7.0 and v11.0 in the application folder, you should exclude v11.0 and place it to the GAC folder.
Posted 07 Mar, 2006 11:34:41 Top
Constantin Lazarev




Posts: 6
Joined: 2006-02-06
Hi Sergey. I'm trying to install the sample solution "MyFirstAddIn" you provide.

There is no Office.dll v 11.0
This is strange that it fails but missing components are registered in GAC
if do not cancel the installation and click "Continue" on error screen. The second installation completed successfully.
Posted 07 Mar, 2006 12:39:54 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Strange, I have tested it again. It works.

I have just sent you a test project. Could you please test it on your PC?
Posted 07 Mar, 2006 14:07:14 Top