The GUID can probably change with Service Pack's and security updates but this blog claims you can just check the Installed
DWORD under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x64
.
For previous MSVC versions I would also suggest querying SxS but I don't think 2010 uses that technology...