JInstaller::setupInstall

Prepare for installation: this method sets the installation directory, finds and checks the installation file and verifies the installation type.