Mavericks won't install on brand new SSD drive
I had the same problem "an error occurred while preparing the installation. Try running this applications again". When you run the installer again, instead of trying to install to the SSD, install the Mavericks OS onto the usb drive (hopefully you have a big enough usb drive to contain mac os and installer) and then reboot with the USB Mavericks OS. Computer is now running os off usb drive. Then open the installer that is also on usb and find the ssd. I had to restart once to get the ssd to show up in disk utility, but you might get lucky. Good luck hope it works for you. (my ssd OWC Mercury 240).