User cannot install my Outlook add-in

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

User cannot install my Outlook add-in
 
ManSys




Posts: 24
Joined: 2010-06-14
Kevin,

Sorry for hijacking your thread!

I hope you find your solution.

Neil.

Neil Hoskins
DDE - Dinosaur Developer Extraordinaire.
Posted 03 Jul, 2010 15:58:25 Top
Andrei Smolin


Add-in Express team


Posts: 16742
Joined: 2006-05-11
Kevin Moore wrote:
I'll post later with some results.


Thank you, Kevin.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Jul, 2010 02:29:39 Top
Kevin Moore




Posts: 93
Joined: 2008-12-03
OK, so I've updated the Setup project based on a document that details the changes I need to make, specifically around the adxregistrator.exe addition but now the app installs but nothings shows.

Here is the adxregistrator.log file:

Add-in Express Registrator Log File: 07/05/2010 16:58:10

Installation directory: C:\Program Files (x86)\Moore Software Solutions Inc\MissingLink Project Management\
Registrator version: 6.0.3043.0
-------------------------------
16:58:10 Starting the add-in registration process.
16:58:10 Loading mscoree.dll
16:58:10 Success.
16:58:10 .NET Framework installation directory:
16:58:10 The latest version of .NET Framework: 'v4.0.30319'
16:58:10 Loading CLR: v4.0.30319.
16:58:10 Calling GetCLRMetaHost method.
16:58:10 Failed.
16:58:10 The loader will try to use the old Framework API.
16:58:10 The CLR v4.0.30319 has been initialized successfully.
16:58:10 Creating a new domain setup.
16:58:10 Success.
16:58:10 Getting the add-in directory.
16:58:10 Success. The directory is 'C:\Program Files (x86)\Moore Software Solutions Inc\MissingLink Project Management\'
16:58:10 The configuration file is '(null)'
16:58:10 The 'shadow copy' is disabled.
16:58:10 Creating a new application domain.
16:58:10 Success.
16:58:10 Getting the base directory for the domain.
16:58:10 Success. The directory is 'C:\Program Files (x86)\Moore Software Solutions Inc\MissingLink Project Management\'.
16:58:10 Searching for the Add-in Express core library.
16:58:10 Success. The 'AddinExpress.MSO.2005.dll' file is found.
16:58:10 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
16:58:10 Assembly identity is 'AddinExpress.MSO.2005'.
16:58:10 Success.
16:58:10 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
16:58:10 Success.
16:58:10 Calling the managed registration procedure.
16:58:11 Managed Error:
Date and Time: 7/5/2010 4:58:10 PM
Machine Name: RYAN-PC
IP Address: fe80::4814:ad7:a78f:472%13
Current User: ryan-PC\ryan

Application Domain: C:\Program Files (x86)\Moore Software Solutions Inc\MissingLink Project Management\
Assembly Codebase: file:///C:/Program Files (x86)/Moore Software Solutions Inc/MissingLink Project Management/AddinExpress.MSO.2005.DLL
Assembly Full Name: AddinExpress.MSO.2005, Version=6.0.3043.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.0.3043.2005
Assembly Build Date: 5/1/2008 2:06:50 AM

Exception Source: AddinExpress.MSO.2005
Exception Type: System.ArgumentException
Exception Message: Wrong command line.
Exception Target Site: RegisterAssembly

---- Stack Trace ----
AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)
AddinExpress.MSO.2005.DLL: N 0079 (0x4F) IL



16:58:11 The add-in registration process is completed with HRESULT = -2147467259.


But if I install this same MSI on my Win XP test machine I don't get any errors? Could there be an administrator issue? The Custom Actions look like:

/install="OutlookPCAddIn.dll" /privileges=admin

/uninstall="OutlookPCAddIn.dll" /privileges=admin

/uninstall="OutlookPCAddIn.dll" /privileges=admin
Posted 05 Jul, 2010 16:27:57 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Kevin.

Does the user run the setup.exe file to install the add-in?
Posted 06 Jul, 2010 10:26:42 Top
Kevin Moore




Posts: 93
Joined: 2008-12-03
Sergey,

No, I don't use a Setup.Exe, just the MSI created by the VS.Net setup project. I've built dependencies into the MSI to check for prerequisities for my app.

The reason I don't use the setup.exe is because I was packaging the Setup.exe and MSI file into a self-extracting WinZip Exe that was downloaded from my web-site. But Microsoft changed the way the setup.exe worked and it closed the setup.exe after it spawned the msi, which in turn caused the self-extracting exe to exit and not install my app.

Does not having a setup.exe cause this?
Posted 06 Jul, 2010 10:44:30 Top
Kevin Moore




Posts: 93
Joined: 2008-12-03
I haven't had any response from support for a couple of days on this, can anyone else help?
Posted 07 Jul, 2010 09:16:05 Top
Andrei Smolin


Add-in Express team


Posts: 16742
Joined: 2006-05-11
Hi Kevin,

I'm sorry for the delay. Can you please send us your solution or any other solution that reproduces the problem?

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 07 Jul, 2010 09:58:01 Top