The error code was 3221684229. The message was Access is denied…

Solution: You get his error while installing Exchange 2007 on Windows 2008R2 since Exchange 2007 is not yet supported on Windows 2008R2 with the exception of Exchange 2007 with SP3. This issue can be easily bypassed running the setup.exe in vista32 compatibility mode.