function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
asadimasadim 

Deployment issue related to Office Toolkit

Hi,

 

I have developed an Office add-in which I'm trying to deploy using a MS installer. The issue is that after the installation is done I try to launch my add-in but I get this error:

 

Retrieving the COM class factory for component with CLSID {...} failed due to the following error: 80040154.

 

I've heard that this has to do with the DLL not being registered (DLL is the Office Toolkit DLL). I cannot register the dang thing using regsvr32 either for this error message:

 

"Make sure that yourdll.dll is a valid DLL or OCX file and then try again."

 

So I'm kind of stuck! Any ideas would be appreciated.

Best Answer chosen by Admin (Salesforce Developers) 
asadimasadim
I resolved this issue by putting the entire office toolkit MSI in my installer.