If you get this error during installation of CF2 then you need to download the latest version of rhe framework that has a fix streamlined into it, ahead of SP1.

Details here:

http://blogs.msdn.com/markprenticems/archive/2006/03/28/563143.aspx

HTH

Ian