try using a different web browser to download the MXP, the error saying the extension package is invalid means the download is corrupted.
try following step 12 of the Adobe troubleshooting guide to recreate the users configuration folder:
http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html#main_user_config