Setup: Server with Windows 2012 and you want to install Sharepoint Foundation 2010 SP2
Problem: .hta file does not open properly to show the install option. You are asked to save the file.
Solution: Go to C\programfilesX86\MSECache\SharePoint2010. Right click splash.hta file and go to “Open with…” and select “Choose default program…”. Expand “More options” and select “Look for another app on this PC”. Browse to Windows\system32\mshta.exe
Run the setup again and this time the splash windows is displayed properly and you can proceed with the installation.