Addon Not available

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

Addon Not available
Why my IE Addon, & Office Addon flagged with Not Available  
Yaron Avital




Posts: 22
Joined: 2011-12-01
Hi,

The UAC is on, since i'm trying to simulate this problem that exists at one of our customers.
I'm able to reproduce the problem with a newly created IE add-on.

I'm registering this add-on using a custom action that launches registrator from a .net setup & install project.

once again, by turning off "Enable Protected Mode", everything works great (even if i switch it back on later, after restart)

sadly enough, i can't control IE settings at our customers, since they manage their IT.
Posted 07 Mar, 2012 03:45:28 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Yaron,

Well, it looks like your administrator did sophisticated changes to the GPO settings. Please try to use the adxloader.dll for registering your add-on. You can read more about this in the Deploying per-user Office extensions via Group Policy article on our technical blog. Also please take a look at the similar forum thread.
.NET, Extended MAPI, Windows Phone & RT
Posted 07 Mar, 2012 05:24:10 Top
Yaron Avital




Posts: 22
Joined: 2011-12-01
Actually i managed to reproduce the problem right here in our labs, without any modifications to Group policy.

I did however launched registrator from administrator account which gave me this log

Add-in Express Registrator Log File: 03/07/2012 14:35:21

Installation directory: C:\Program Files (x86)\DiffDoof Ltd\ClearMash Client Solution\4.0.134\IEAddon\
Registrator version: 7.1.4102.1
Operating System: Microsoft Windows Vista Ultimate Edition Service Pack 2 (build 6002), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files (x86)\DiffDoof Ltd\ClearMash Client Solution\4.0.134\IEAddon\adxregistrator.exe" /install="C:\Program Files (x86)\DiffDoof Ltd\ClearMash Client Solution\4.0.134\IEAddon\ClearMash.IEAddon.dll"/privileges=admin /runasinvoker=true /CLRVersion="3.5" /log=C:\Users\qaadmin5.OFFICE\AppData\Roaming\ClearMash.IEAddon.log
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): On
-----------------------------------
[QUOTE]


but still without any real progress.

i verified i'm sticking to the following article guidelines

http://msdn.microsoft.com/en-us/library/Bb250462.aspx
Posted 07 Mar, 2012 06:59:20 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Yaron,

May I see the complete log file? Does your add-in work now?
.NET, Extended MAPI, Windows Phone & RT
Posted 07 Mar, 2012 07:15:45 Top
Yaron Avital




Posts: 22
Joined: 2011-12-01
unfortunately still the "protected mode" is giving me a hard time, only when it's off things are working,

this is the complete log, of an add-in that does nothing other than trace.


Add-in Express Registrator Log File: 03/07/2012 14:47:31

Installation directory: C:\Program Files (x86)\DiffDoof Ltd\Release\
Registrator version: 7.1.4102.1
Operating System: Microsoft Windows Vista Ultimate Edition Service Pack 2 (build 6002), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files (x86)\DiffDoof Ltd\Release\adxregistrator.exe" /install="C:\Program Files (x86)\DiffDoof Ltd\Release\MyIEAddon1.dll" /privileges=admin /runasinvoker=true /CLRVersion="3.5" /log=C:\Users\qaadmin5.OFFICE\AppData\Roaming\testadoon.log
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): On
--------------------------------------------------------------
14:47:31 0160 Starting the add-in registration process.
14:47:31 0160 Loading mscoree.dll
14:47:31 0160 Success.
14:47:31 0160 .NET Framework installation directory:
14:47:31 0160 The latest version of .NET Framework: 'v4.0.30319'
14:47:31 0160 Loading CLR: v2.0.50727.
14:47:31 0160 Calling CLRCreateInstance method.
14:47:31 0160 Success.
14:47:31 0160 Calling GetRuntime method.
14:47:31 0160 Success.
14:47:31 0160 Checking if the hosting API of .NET Framework v4.0 beta is installed.
14:47:31 0160 The hosting API is up to date.
14:47:31 0160 Calling GetInterface method for the CorRuntimeHost interface.
14:47:31 0160 Success.
14:47:31 0160 Starting CLR...
14:47:31 0160 Success.
14:47:31 0160 Getting the CLR version.
14:47:31 0160 The CLR v2.0.50727 has been initialized successfully.
14:47:31 0160 Creating a new domain setup.
14:47:31 0160 Success.
14:47:31 0160 The 'shadow copy' is disabled.
14:47:31 0160 Creating a new application domain.
14:47:31 0160 Success.
14:47:31 0160 Getting the base directory for the domain.
14:47:31 0160 Success. The directory is 'C:\Program Files (x86)\DiffDoof Ltd\Release\'.
14:47:31 0160 Searching for the Add-in Express core library.
14:47:31 0160 Success. The 'AddinExpress.IE.dll' file is found.
14:47:31 0160 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:47:31 0160 Assembly identity is 'AddinExpress.IE'.
14:47:31 0160 Success.
14:47:31 0160 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:47:31 0160 Success.
14:47:31 0160 Calling the managed registration procedure.
14:47:31 1092 Connecting to the application domain of the Add-in Express loader.
14:47:31 1092 Success.
14:47:31 1092 Loading the 'myieaddon1.dll' assembly.
14:47:31 1092 Success.
14:47:31 1092 Registering the 'myieaddon1.dll' assembly (administrator).
14:47:32 1092 The ' myieaddon1.dll' assembly has been registered successfully.
14:47:32 0160 Success.
14:47:32 0160 The add-in registration process is completed with HRESULT = 0.
Posted 07 Mar, 2012 07:22:32 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Yaron,

Well, now the adxregistrator.log looks good. Did you try to sign your add-on with a digital signature. Does it help?
.NET, Extended MAPI, Windows Phone & RT
Posted 08 Mar, 2012 00:30:36 Top
Yaron Avital




Posts: 22
Joined: 2011-12-01
yes, it is signed using a self signed certificate.
However, i have ordered a trusted root certificate from a known vendor, i have a suspicion it could help
i'll try it today.
Posted 08 Mar, 2012 01:47:04 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Yaron,

Please let me know the results in any case.
.NET, Extended MAPI, Windows Phone & RT
Posted 08 Mar, 2012 06:18:49 Top
Yaron Avital




Posts: 22
Joined: 2011-12-01
Hi Eugene,

the trusted certificate finally arrive,
but sadly it didn't helped to achieve victory against the IE9 "protected mode"

Are you able to reproduce this situation? IE9+UAC+Protected Mode (loader log file is not even written)


By the way by signing "adxloader.dll" with our certificate IE finally displays "DiffDoof Ltd" as the publisher instead of writing it off as an 'unkown publisher'
Posted 14 Mar, 2012 10:39:01 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Yaron,

If Protected Mode is on in IE, the log file is created in
the 'c:\Users\<User Name>\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Add-in Express\' directory. Please check it.
Posted 14 Mar, 2012 13:24:56 Top