final String name = args[i];
try {
final File xar = findApp(home, name);
if (xar != null) {
System.out.println("Installing app package " + xar.getName());
final UserInteractionStrategy interact = new BatchUserInteraction();
final Package pkg = repository.getParentRepo().installPackage(xar, true, interact);
final String pkgName = pkg.getName();
uris.add(pkgName);
} else {
System.err.println("App package not found: " + name + ". Skipping it.");