public bool install()
{
if (isInstalled())
return true;
var localFilePath = PublicDI.config.O2TempDir.pathCombine(currentVersionZipFile);
//var webLocation = "{0}{1}".format(PublicDI.config.O2SVN_FilesWithNoCode, currentVersionZipFile);
var webLocation = "http://o2platform.googlecode.com/svn/trunk/O2%20-%20All%20Active%20Projects/_3rdPartyDlls/FilesWithNoCode/fuzzdb-1.08.zip";
"downloading file {0} from {1} to {2}".info(currentVersionZipFile, webLocation,localFilePath);
//if (webLocation.httpFileExists())
{
new Web().downloadBinaryFile(webLocation, localFilePath);
if (localFilePath.fileExists())
new zipUtils().unzipFile(localFilePath,installDir);
}
if (isInstalled())
{
"{0} installed ok".info(_currentVersion);
return true;
}
"There was a problem installing the {0}".error(_currentVersion);
return false;
}