В сообщении 
#392 обновил файл. Теперь при ошибке записи в реестр выводится сообщение с кодом ошибки:
	Код:
	1	unable to open requested key
2	unable to open requested main key
3	unable to remote connect to the registry
-1	unable to open requested value
-2	value type not supported