While installing Office 2007 you get error 1406 saying:
"setup cannot write the value to the registry key"
if you click on Ignore it can popup up tp six times during the installation.
The error message that you receive lists the registry subkey that is causing the error to occur.When attempting to install Microsoft Office, it will often reference one or more of the following keys:
HKEY_LOCAL_MACHINE > Software > Classes > HWXInk.E-Ink
HKEY_LOCAL_MACHINE > Software > Classes > HWXInk.E-Ink.1
HKEY_LOCAL_MACHINE > Software > Classes > SketchObj.SketchInk
HKEY_LOCAL_MACHINE > Software > Classes > SketchObj.SketchInk.1
In order to resolve this, we need to give the installer permission to write to these keys.
Launch the registry editor by choosing Start > Run (or Windows Key+R) and typing REGEDIT.
Locate the first of the above-listed registry keys. Right-click on the key and click Permissions. In the list of groups or user names, see if “Everyone” is listed. If the group exists, skip to step 5. If the group does not exist, begin with step 1:
1. Click the Add button below the “Group or user names” box.
2. Click Advanced at the bottom of the next window.
3. Click “Find Now” on the right side of the next window.
4. In the list of results, choose the “Everyone” entry, click OK, and then OK again.
5. In the “Group or user names” box, be sure Everyone is highlighted, and check the box to allow Full Control.
6. Repeat for the next registry key in the list.
Once permissions have been adjusted for all four of the listed keys, reboot the computer and attempt to install Office.