// assure that there isn't already a file installed at the specified location
if (location.exists()) {
throw new IllegalArgumentException("Destination " + location.getAbsolutePath() + " already exists!");
}
ArtifactTypeHandler typeHandler;
if(isConfiguration) {
typeHandler = (ArtifactTypeHandler) typeHandlers.get("car");
} else {
typeHandler = (ArtifactTypeHandler) typeHandlers.get(destination.getType());
}
if (typeHandler == null) typeHandler = DEFAULT_TYPE_HANDLER;
typeHandler.install(source, typeHandler instanceof UnpackArtifactTypeHandler ? unpackedSize : packedSize,
destination, monitor, location);
if (isConfiguration || destination.getType().equalsIgnoreCase("car")) {
System.out.println("############################################################");
System.out.println("# Installed configuration");