Hi,Blanche!VSTO plugin packaged installation file,you can use vs in the Setup Project, you can also use Advanced install,there are many ways. Registered office plugin needs registry in HKCU\Software\Microsoft\ Office\<App>\AddIns\ create plugin information. Traditional COM plugin can register under HKLM. But vs developed vsto (managed code) plug-in may not load. how to solve this problem?
The trick is to use the Office of an internal mechanism, inside the HKLM registration information is copied to the current user's HKCU go inside. If your computer is already installed Office 2010, copy the contents of the following to notepad saved as *. Reg, into the regedit.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\User Settings\MyWordPlugin] "Count"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\User Settings\MyWordPlugin\Create\Software\Microsoft\Office\Word\Addins\TestPlugin] "Description"="TestPlugin" "FriendlyName"=" TestPlugin" "LoadBehavior"=dword:00000003 "Manifest"="d:\\project\testplugin.vsto|vstolocal"
Manifest is the path to your plugin, open Word you will find in HKCU Word\addins\ create under TestPlugin.Delete the plugin, copy the contents of the following to notepad saved as *. Reg, into the regedit.
So that we can deploy to all users of the, if you are using VS Setup Project packaged, whenyou install or uninstall add custom actions,add installer class, Use code to create the corresponding version of Office 2010 registry entries.Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\User Settings\MyWordPlugin] "Count"=dword:00000002 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\User Settings\MyWordPlugin\Delete\Software\Microsoft\Office\Word\Addins\TestPlugin]
Hi,
you've posted in the MOF forum, but your post seems unrelated to MOF.
Microsoft Operations Framework is a collection of best practices, principles, and models that offer guidance to IT organizations for managing their IT services. MOF, which supports such service management frameworks as ITIL, ISO/IEC 20000, and CoBiT, is built
on the data and wisdom of Microsoft users, customers, partners, and internal IT and research groups. MOF organizes operational IT management in such a way that the businesses can rely on high service availability, based on the reliability and control of the
IT systems.
http://www.microsoft.com/mof
Your post seems that it might attract more interest/assistance in a different forum, perhaps:
Sorry, but you have posted your question in a forum that discusses Microsoft Operations Framework (MOF). Im moving this thread.
Hope that helps
Regards,
Cleber Marques
MOF Brazil Project: Simplifying IT Service Management
CleberMarques.com
| MOF.com.br|
CanalSystemCenter.com.br|
SystemCenter.co