You have a syntax error or something wrong with this reg entry. This is the error you are looking for.
Failed to parse value name HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactF ram
ework\Installer\Assemblies\Reference\CustomMarshal ers, Version=2.0.0.0, Culture=
neutral, PublicKeyToken=969DB8053D3322AC!!!
Find that entry and figure out why it is wrong.
Send me what you are trying to get in and I can format it for you so all you have to do is copy and paste.