4

I wrote a plugin for Word 2013, when I open an key and writes an value, the value is not written in a specific key, but instead he appears under HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\REGISTRY

I tried to write to HKLM\SOFTWARE\Classes\CLSID\{DB38EDF5-34AE-4856-B536-DF3133DC860C}.

The problem does not exist in Word 2010.

What is the role of this key? Why I can not write directly to key I want?

1

This is due to the new MS Office Click To Run technology. See what MS has to say:

Assume that in a Click-to-Run edition of a Microsoft Office application you run an Office add-in that creates custom registry entries under the HKEY_LOCAL_MACHINE (HKLM) hive. In this situation, the custom registry entries are created in a specific part of the Click-to-Run registry subkey. For example, if an add-in creates a registry entry under the HKLM/Software hive, the following registry entry is created:

HKLM\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Wow6432Node\Custrom-Registry-Entry

This behavior is by design because Office Click-to-Run editions use Application Virtualization. Any custom registry entry under the Click-to-Run hive may be changed by any Office update because the Office Click-to-Run editions own the Click-to-Run registry entries. For example, any custom registry entry may be deleted after you install an Office update.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.