Came accross the same error with 2010 Beta. dbwrap.exe which is part of the SQL DB installation.
We were lucky and this post (
http://sharepointjungle.com/2010/03/06/install-sharepoint-2010-on-windows-7/) is what saved us.
The answer:
Backup this key and the remove the temporary value.
The SQL server install must check "HKEY_LOCAL_MACHINE\SYSTEM
\CurrentCo
ntrolSet\C
ontrol\Ses
sion Manager\PendingFileRenameO
perations"
value and throw the restart required error when there is a value in this key so it doesn’t interrupt something else happening within the computer.
Cheers,
Hades666