resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x64/install.exe").getInputStream();
} else {
resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x86/install.exe").getInputStream();
}
copyLarge(resStream, zip);
ZipFunction zipper = new ZipFunction(jre, prefix + "/jre", zip);
Collection<File> files = listFiles(jre, true);
Collection<String> zipped = Collections2.transform(files, zipper);
fireTransform(zipped);
getLog().info("Installer written to: [" + installerOutputFile.getPath() + "]");
} finally {