解决办法:
WScript.Echo "Try to repair registry key..."
'verify Office version
Set objshell = CreateObject("wscript.shell")
If version = 12 Then
objshell.Run "reg add HKCUSoftwareMicrosoftOffice12.0WordOptions /v NoReReg /t REG_DWORD /d 1",1, True
ElseIf version = 14 Then
objshell.Run "reg add HKCUSoftwareMicrosoftOffice14.0WordOptions /v NoReReg /t REG_DWORD /d 1",1, True
ElseIf version = 15 Then
objshell.Run "reg add HKCUSoftwareMicrosoftOffice15.0WordOptions /v NoReReg /t REG_DWORD /d 1",1, True
Else
WScript.Echo "Not support office version"
WScript.StdOut.Write "Press enter to exit"
WScript.StdIn.ReadLine()
WScript.Qui
End If