Hi nadeems,
Go to
Under System Preferences > Security and Privacy
Click on General Tab
Set Allow Apps Downloaded From:
Anywhere
Refer the link for screenshots: Mac: "Downloaded .app is damaged and can't be opened" Error Solved
Use the Download link for CS5: Download CS5 products
Let us know if that helps.
Regards,
~Mohit