After re-installing Windows Server 2008 R2 SP1, I downloaded SharePoint 2010 with SP2 installation media from MSDN ( "en_sharepoint_server_2010_with_service_pack_2_x64_dvd_4178583.iso"), then tried to install a new test farm.
The installation succeeded. However, AutoSPInstaller configuration script threw out error message "Install-SPService : The specified value for the LocStringId parameter is outside the bounds of this enum."
So I deleted the relevant databases created by AutoSPInstaller, then ran "SharePoint 2010 Products Configuration Wizard" to initialize the farm. Similar error showed up in ULS log: "The specified value for the LocStringId parameter is outside the bounds of this enum."
After some investigation, I gave it up. There are a few people got the same problem, but no solution. So I uninstalled SharePoint 2010 with SP2 from the server, and then installed SharePoint 2010 RTM, then SP2, then CU201412.
It worked very well.
The problem is fixed.
Just curious: Is there any one knows what caused this problem? Any one use "SharePoint 2010 with SP2 installation media" to install SharePoint successfully?