Add-In is not installed in Office 2007 and .NET 4 installed

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

Add-In is not installed in Office 2007 and .NET 4 installed
 
Omer Herera




Posts: 40
Joined: 2010-05-12
Hi,
We have the following issue that happens also for a new add-in project.
When trying to install the add-in in a machine that has .NET 4 installed and Office2007 (32/64 bit platform), the add-in is not displayed in the add-in ribbons tab.
I have to mention that, the project was upgraded to Visual Studio 2010 and Target Framework 2.0, In the begging I try in Visual Studio 2005/2008 and I receive the same behavior.

This is the log:
Add-in Express Registrator Log File: 02/15/2011 03:57:56

Installation directory: C:\Program Files\MyAddIn\
Registrator version: 6.3.3052.0
Operating System: Microsoft Windows 7 Ultimate Edition (build 7100), 32-bit
Process Owner: Administrator
Command Line: "C:\Program Files\MyAddIn\adxregistrator.exe" /install="MyAddIn.dll" /privileges=user
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): On
--------------------------------------------------------------
03:57:56 Starting the add-in registration process.
03:57:56 Loading mscoree.dll
03:57:56 Success.
03:57:56 .NET Framework installation directory:
03:57:56 The latest version of .NET Framework: 'v4.0.30319'
03:57:56 Loading CLR: v4.0.30319.
03:57:56 The CLR failed to be initialized. HRESULT = -2146232576.
03:57:56 The add-in registration process is completed with HRESULT = -2146232576.

Thanks for your help
Posted 17 Feb, 2011 08:28:22 Top
Eugene Astafiev


Guest


Hi Omer,

Do you have the full version of the .net framework 4.0 (not the Client Profile) installed on the problematic PC?
Posted 17 Feb, 2011 09:19:06 Top
Omer Herera




Posts: 40
Joined: 2010-05-12
I have the full version, why is this mater?
Thanks
Posted 20 Feb, 2011 02:09:33 Top
Sally Peck


Guest


hi

Office 2007 has no 64-bit option.

Tips for deployment:

a) Did you sign the add-in with a SNK file?
b) If you are doing Internet deployment, did you code-sign the Add-in?
c) If you are using any 3rd party library, did you install them to target machine as well?
d) Did you hard-code any paths in the Add-in that may cause registration to fail?
e) If your add-in is using any database, did you install the database along with it?

f) Does your add-in depend on a NET feature or functionality found only in NET full installation? If so, you need to check if the NET4.0 on that machine is full version and not the "Client Profile" version.
Posted 20 Feb, 2011 04:39:10 Top
Omer Herera




Posts: 40
Joined: 2010-05-12
Thanks for your help.
Like I mention before, this occurs also for a new add-in project(that doesn't do anything),
also its installation do nothing, only register the dll on the machine.
The setup project create by default and sing the dll with SNK file.
Any ideas?
Thanks
Posted 20 Feb, 2011 10:36:14 Top
Sally Peck


Guest


Hi,

Tips:

1) Did you try putting a different unique name for each add-in you create?
Maybe you created three different versions of MyAddin and since it is already installed, the MSI did not upd ate it.

2) Did you at least put a visible button on a toolbar or Ribbon tab?

3) Did you se t the Load to LoadOnStartup for the Add-in?
Posted 20 Feb, 2011 20:06:26 Top
Eugene Astafiev


Guest


Hi Omer,

Could you please organize a remote session? I will take a look at the issue online.
Posted 21 Feb, 2011 03:23:30 Top
Omer Herera




Posts: 40
Joined: 2010-05-12
Hi Eugene Astafiev,
We are trying to organize a remote session, but here in our company we needs some permissions fr om our IT team.
BTW - I already mention that this occurs in a new project - I'm sending a new newly project wh ere the project is reproducible to email (xxxx@yyyy.bbb), can you try and check if this also is reproducible for you too.
Occurs in:
1. New add-in project (attached in email)
2. Installing the add-in in a machine that has .NET 4 installed
3. Office2007 (Windows7 - 32/64 bit platform)
4. Result: The add-in is not displayed in the add-in ribbons tab.

* I have to mention that, the project was upgraded to Visual Studio 2010 and Target Framework 2.0, In the begging I try in Visual Studio 2005/2008 and I receive the same behavior.

Thanks
Posted 01 Mar, 2011 06:05:15 Top
Omer Herera




Posts: 40
Joined: 2010-05-12
Hi Eugene Astafiev,
Organizing a remote session would take more time that we expect. We were wandering if you can check the solution, we send you and check if reproducible.
Thanks in advanced
Posted 01 Mar, 2011 10:02:03 Top
Eugene Astafiev


Guest


Hi Omer,

Thank you for providing me with a sample add-in project. I have reproduced the issue you described above on my PC with Windows 7 and Office 2010.

Also I have found the cause of the issue - the InstallAllUsers property of the MSI installer project. You don't need to modify this property at all. It doesn't play the key role in deploying Add-in Express based COM add-ins and should be set to its default value (false).

Please let me know whether it does the trick for you too.
Posted 02 Mar, 2011 11:21:00 Top