“Crysis Warhead installation failed. This installation package could not be opened

Today I was trying to install the game Crysis Warhead into my machine and just when the installation was near completion, these error messages suddenly popped out: "Crysis Warhead installation failed.
This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows installer package. Please check your settings and try again.” I proceeded to download the required Windows installer package but upon installation, another error message appeared, "Not Enough Memory". Can anybody please help me with this?
What else do I need to do and check?
