The issue was caused as the account used to install SPS has not enough write permissions on the destination folder. If you run the installer in GUI mode, it shows the following error:
You do not have the write permissions to the chosen installation destination.
Please choose a different location for installation.
The installer has been fixed in R12.52 SP1 CR05 to show the same error in console mode when this happens.