The GUI works because you're probably using the Web Platform Installer 4.0. The command line tool you downloaded is still the old 3.0 version.
Simply use the 4.0 command line tool and everything will work correctly. You can find it in the Web Platform Installer installation directory (it comes with the GUI application): C:\Program Files\Microsoft\Web Platform Installer\WebpiCmd.exe