Hi,

Question; does the key Fowles already exist at the point your performing AddKey? If not, try this and see what happens:

code:

$key = "HKEY_LOCAL_MACHINE\Software\Fowles"
$ReturnCode = ExistKey ("$key\customdic")
If $ReturnCode=0
goto EndCommon
else
call "wordic.kix"
$ReturnCode = AddKey( "$key" )
$ReturnCode = AddKey( "$Key\customdic" )
Endif

_________________________
Regards, Jeroen. There are two ways to write error-free programs. Only the third one works.