Distributing Plugins
Windows Live Writer plugins can be installed and registered by using one of two methods:
-
Copying the plugin assembly to the Plugins subdirectory of the Writer installation directory. Installers can detect the Writer installation directory by reading the InstallDir value from the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Writer\
-
Writing the name and full path of the plugin to the PluginAssemblies registry key located at either:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Writer\PluginAssemblies
or
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Live\Writer\PluginAssemblies
For example, a plugin at the path C:\Program Files\My Product\MyProduct.WriterPlugin.dll could be registered by adding the following key/value pair to the PluginAssemblies key:
Key = MyProduct.WriterPlugin
Value = C:\Program Files\My Product\MyProduct.WriterPlugin.dll