for (int i = 0; i < installedPackages.size(); i++) {
PackageDescription packageData = (PackageDescription) installedPackages.get(i);
int progress = java.lang.Math.round(100/installedPackages.size()) * (i+1);
panel.setProgressValue(progress);
panel.setProgressText(packageData.getPackageName());
installer.uninstallPackage(packageData);
}
// removing already created helper files (admin files)
Vector removeFiles = installData.getRemoveFiles();
for (int i = 0; i < removeFiles.size(); i++) {