MS Office 2010 OCT tool > I keep getting error 1406: Setup cannot write the value to the registry when I have sufficient permissions to access/edit the registry
Hey guys,
So through the course of MS Office 2010 customization, I attempted to add some values to the registry through OCT -> Add Registry Entries because I needed some value to be added to Office under Add/Remove program and I can't figure why I keep getting error 1406: Setup cannot write the value XYZ to the registry when I know I have sufficient permissions to access/edit the registry on my machine. (I went gpedit.msc from cmd and enabled full access to reg)
Here is the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PROPLUSSUB
Datatype: REG_SZ
However, Im not really trying to add but more like modify the already existing "Display Name" value by adding the package code at the end of the "Display Name" and so this is how im getting this error message
Fault bucket 3821260545, type 5
Event Name: Office12Setup
Response: Not available
Cab Id: 0
Problem signature:
P1: {91140000-011D-0000-0000-0000000FF1CE}
P2: 14.0.4763.1063
P3: WriteRegistryValues
P4: 1603
P5: 0x1406
P6: Error 1406. Setup cannot write the value XYZ to the registry key \HKEY_LOCAL_MACHINE\SOFT
P7: X
P8:
P9:
P10:
Attached files:
C:\Users\techsupp\AppData\Local\Temp\SetupExe(201308281632361494).log
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_{91140000-011D-0_ec7dfb49ff185f816697135fb36b7fd13a5181a2_1117df59
Analysis symbol:
Rechecking for solution: 0
Report Id: bf34f33a-1021-11e3-8738-005056c00008
Any idea why or how I can go around this. Merci beaucoup in advance!!
Answers (1)
can you create this reg key first and try again?
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PROPLUSSUB
Comments:
-
Hey dj_xest,
Thanks for taking the time to go over my questions.
To answer your question when I modify the values manually directly under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PROPLUSSUB the changes take effect the way its suppose to. However added value could not take effect when customizing registry value through OCT, setup installation fails and the reason why is because I needed to run my command as administrator ( run as admin right clicking cmd) and then setup installation is able to move foward.
Thanks again! Cheers - Vado 11 years ago -
"setup installation fails and the reason why is because I needed to run my command as administrator ( run as admin right clicking cmd) and then setup installation is able to move foward.."
I don't understand. I thought you are already testing in admin account. This is just a permission issue. Login with admin account and try again. If not, test the installation with deployment tool which could be running in System Context and therefore will have full access to write registries. - dj_xest 11 years ago -
I am testing it with the admin account of course but for some reason it would take the changes I did the the registry through OCT tool. Will give it a try with the deployement tool!! - Vado 11 years ago