Add-In not installing on one machine

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

Add-In not installing on one machine
 
Mark




Posts: 46
Joined: 2010-08-16
I have developed an add-in and it can be installed from an associated .msi file on almost all the machines I have tried it on.

I do have one machine that although the installer says it installed fine (it does appear in Programs and Features in Control Panel), it does not show up in the Outlook 2007 trust center at all.

I uninstalled it and re-installed it, but this time I left Outlook open. On the machines that it installs on OK, with this scenario it prompts me to close Outlook first. On this machine it does not promt me to close Outlook.

Any suggestions?
Posted 24 Nov, 2010 10:01:17 Top
Eugene Astafiev


Guest


Hi Mark,

What OS do you use on the problematic PC?
Posted 24 Nov, 2010 10:44:14 Top
Mark




Posts: 46
Joined: 2010-08-16
It is either Vista or Windows 7 - I can't confirm which one until the client wakes up (they are in Australia).
Posted 24 Nov, 2010 11:11:15 Top
Eugene Astafiev


Guest


Hi Mark,

Please make sure that the UAC (User Account Control) is enabled and you run the setup.exe. Does it work for you?

FYI Please read the http://www.add-in-express.com/docs/net-deploying-debugging-tips.php#uac section in the online documentation for more information.
Posted 24 Nov, 2010 11:18:56 Top
Mark




Posts: 46
Joined: 2010-08-16
Hi Eugene

I discovered that the machine is running Windows 7, that UAC is enabled and the Windows user is an admin user.

I have been running the .msi file directly, but the add-in does not appear in Outlook.

Oddly, running the .msi file on another machine with the same situations as above works fine.

Is there anything I can look at after the install to point me in the direction of what may be wrong?

Also, I assume that I shouldn't need to be an administrator of a machine to be able to install an Outlook add-in?
Posted 25 Nov, 2010 03:14:27 Top
Mark




Posts: 46
Joined: 2010-08-16
In addition to the above, I did find the log file for the registration tool, the contents of which is below:

Add-in Express Registrator Log File: 11/25/2010 14:39:39

Installation directory: C:\Users\tonyd\AppData\Roaming\Bond International Software\AdaptOutlookAddIn\
Registrator version: 6.1.3044.0
-------------------------------
14:39:39 Starting the add-in registration process.
14:39:39 Loading mscoree.dll
14:39:39 Success.
14:39:39 .NET Framework installation directory:
14:39:39 The latest version of .NET Framework: 'v4.0.30319'
14:39:39 Loading CLR: v4.0.30319.
14:39:39 Calling CLRCreateInstance method.
14:39:39 Success.
14:39:39 Calling GetRuntime method.
14:39:39 Success.
14:39:39 Calling GetInterface method.
14:39:39 Calling GetInterface method for the CorRuntimeHost interface.
14:39:39 Success.
14:39:39 Starting CLR...
14:39:39 Success.
14:39:39 The CLR v4.0.30319 has been initialized successfully.
14:39:39 Creating a new domain setup.
14:39:39 Success.
14:39:39 Getting the add-in directory.
14:39:39 Success. The directory is 'C:\Users\tonyd\AppData\Roaming\Bond International Software\AdaptOutlookAddIn\'
14:39:39 The configuration file is '(null)'
14:39:39 The 'shadow copy' is disabled.
14:39:39 Creating a new application domain.
14:39:39 Success.
14:39:39 Getting the base directory for the domain.
14:39:39 Success. The directory is 'C:\Users\tonyd\AppData\Roaming\Bond International Software\AdaptOutlookAddIn\'.
14:39:39 Searching for the Add-in Express core library.
14:39:39 Success. The 'AddinExpress.MSO.2005.dll' file is found.
14:39:39 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:39:39 Assembly identity is 'AddinExpress.MSO.2005'.
14:39:40 Success.
14:39:40 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:39:40 Success.
14:39:40 Calling the managed registration procedure.
14:39:41 Success.
14:39:41 The add-in registration process is completed with HRESULT = 0.
Posted 25 Nov, 2010 03:51:14 Top
Mark




Posts: 46
Joined: 2010-08-16
In further addition to the above, if I manually regsvr32.exe adxloader.dll it successfully registers the add-in and it then appears in the Trust Center.

Any ideas why the registration of the add-in does not happen correctly on this machine?
Posted 25 Nov, 2010 04:04:00 Top
Eugene Astafiev


Guest


Hi Mark,

Thank you for providing me with a log file.

I have noticed that you use an old build of Add-in Express 2010. Please install the latest build and replace the adxloader.dll in the Loader folder of your project with a new one first.

Do you register the add-in for all users? Did you set the RegisterForAllUsers property of the add-in module?
Posted 25 Nov, 2010 04:18:00 Top
Eugene Astafiev


Guest


Mark,

Please download the latest build of Add-in Express 2010 from http://www.add-in-express.com/downloads/adxnet.php.
Posted 25 Nov, 2010 04:18:44 Top
Mark




Posts: 46
Joined: 2010-08-16
is that to fix a known issue or so you can possibly get more info from the registrator log?
Posted 25 Nov, 2010 05:06:07 Top