Distributing Plugins

Windows Live Writer plugins can be installed and registered by using one of two methods:

  1. 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\
  2. 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
    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

Windows Live Writer supports plugins that are built with either the Microsoft .NET Framework version 1.1 or 2.0. Writer requires users to have .NET 2.0 present to install the application.