Register ADX Project

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

Register ADX Project
Difference between Register Project and Setup 
T Rolle

Posts: 32
Joined: 2006-07-23

For the past week, I've been struggling to solve a deployment issue. My Word add-in uses a software licensing component. I've created a setup project in VS2008 for the application. After building the project, I execute the .msi file and when Word starts the following error message is displayed:

"Error validating license: Retrieving the COM class factory for component with CLSID {91D35F95...} failed due to the following error: 80040154."

However, when I unload the setup project and do Build --> Register ADX Project, then press F5 to run the project, Word starts and the correct license screens are displayed with no error message. I've already checked with the third-party software manufacturer and they have no clue. I've tried all the various remedies such as building for x86, doing a Reg-free COM, etc.

My question is what's the difference between Register ADX Project and executing an .msi? BTW, I've tried executing the app through ClickOnce, but again get the same error message. The only time the app execution process succeeds is running the project from VS using F5.

Posted 12 Feb, 2011 23:46:26 Top
Eugene Astafiev

Add-in Express team

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

What OS do you use? Do you run Visual Studio in the "as an administrator" mode?
.NET, Extended MAPI, Windows Phone & RT
Posted 14 Feb, 2011 13:16:45 Top