folder.create();
this.repositoryFolder = folder.newFolder("repository");
this.versionStoreFolder = folder.newFolder("versions");
Repository repository = new FilesystemRepository(repositoryFolder);
versionStore = new FilesystemVersionStore(versionStoreFolder,
new ZipInstallationStarter(new FilesystemInstallationStarter()));
updateSystemBuilder.useStore(versionStore);
updateSystemBuilder.useRepository(repository);
Installation installation = versionStore.beginInstallation(currentVersion);
File file = folder.newFile();
installation.addContent(new FileDataInVersion(file));