How do we handle COM Addin(Word,Excel,Outlook)
How do we handle COM Addin(Word,Excel,Outlook) in MSI packaging can anyone please explain?
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
EdT
10 years ago
Your packaging tool should provide the necessary support for extracting the registration information into the correct tables in the MSI. Which tool are you using?
Comments:
-
Ed, there is no COM information in Office add-ins that can be registered in the way that it can from DLLs which contain the DLLSelfRegister function.
@OP, there is a very good scripot posted by 'Captain Planet' here on IT Ninja for adding and removing Excel add-ins. Once you've located the relevant registry section for the other Office apps, altering it to suit the other apps in the Office suite should be straightforward.
Remember that you'll need to cause the script to execute for the currently logged-in user, as add-ins are added to the user part of the registry, not the machine part. - anonymous_9363 10 years ago-
Should have read the question more carefully. Using the Office Automation code will add and remove things like Excel addins with minimal code. The only requirement is that the user has run Excel at least once to create the user regkeys, although of course this could be done in code as well. - EdT 10 years ago