Excel DNA Based migration

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

Excel DNA Based migration
 
Rob Sullivan




Posts: 42
Joined: 2011-09-01
AddinExpress Gurus,

Wonder if you can help us please?

We are investigating the possibility of migrating an existing Excel DNA based addin, to AddinExpress.

Our development team is hitting the following issue as outlined on the Excel DNA forum :

http://exceldna.codeplex.com/discussions/364027

I have to be honest in saying that I've no development experience with Excel DNA but I was wondering if in migrating to AddinExpress would work around the issues outlined above. Do AddinExpress use a similar registration mechanism under the hood?

Thanks for your help,
Rob
Posted 24 Jul, 2012 10:25:46 Top
Andrei Smolin


Add-in Express team


Posts: 19012
Joined: 2006-05-11
Hello Rob,

An Add-in Express project contains one or more modules representing COM add-ins, XLL add-ins, RTD servers, Excel Automation add-ins and smart tags (in different combinations). When you register your assembly, the registrator retrieves all required registration information from the modules: ProgIds, names, permissions, etc.

At first sight, the issue described on that page seemingly relates to internals of Excel DNA. Nevertheless, to check if the issue depends on specific settings on a given machine, I suggest creating an Add-in Express add-in showing a Ribbon control(s) and registering it on that PC. Note that if UAC is turned off, then a per-user COM add-in registered by an administrator user will not work.

From http://msdn.microsoft.com/en-us/library/bb756926.aspx:
Beginning with Windows Vista??? and Windows Server??? 2008, if the integrity level of a process is higher than Medium, the COM runtime ignores per-user COM configuration and accesses only per-machine COM configuration.


When UAC is on, the administrator user runs all Office application (in fact, all .EXE files) with the integrity level Medium. When UAC is off, the administrator runs them with the integrity level High.


Andrei Smolin
Add-in Express Team Leader
Posted 24 Jul, 2012 11:04:26 Top
Rob Sullivan




Posts: 42
Joined: 2011-09-01
Andrei,

Thanks very much for getting back to me.

A very open ended question I know - OK, as they say in the UK - "the proof of the pudding is in the tasting"

We will give it a go.

Thanks
Rob
Posted 24 Jul, 2012 11:55:55 Top
Andrei Smolin


Add-in Express team


Posts: 19012
Joined: 2006-05-11
Rob,

Don't hesitate to ask us if you run into any problem.


Andrei Smolin
Add-in Express Team Leader
Posted 25 Jul, 2012 01:20:58 Top