Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSTO add-in control does not appear automatically

Tags:

vsto

I have implemented a VSTO word Add-in, when the user install the setup file , my add-in control does not appear until adding it from “Com Add-in” Dialog in the word option

Is there any way to add the control automatically to the Add-in tab without going to Com Add-in?

Thanks,

like image 393
Saraya Avatar asked Jan 23 '26 01:01

Saraya


1 Answers

You need to add the registry entry (in your setup project) pointing to the office manifest (vsto file) into the Office registry hive. See this post describing how to do for all users or just the current logged in user. See MSDN reference for registry entries required for application-level addins.

Single User Hive

HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\[add-in ID]

All User Hive (x86 Office on x86 OS)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins\[add-in ID]

All User Hive (x86 Office on x64 OS)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\Word\Addins\[add-in ID]

All User Hive (x64 Office on x64 OS)

HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Word\Addins\[add-in ID]
like image 117
SliverNinja - MSFT Avatar answered Jan 27 '26 01:01

SliverNinja - MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!