Forum Discussion
nicktulett
13 years agoContributor
One way would be to install 7-Zip
Then include 7z.exe as a TestedApp.
Routine to extract a zip file would then be:
TestedApps.UNZIP.Params.SimpleParams.CommandLineParameters = 'x "' + zipFile + '" -o' + outputFolder + ' -aoa';
var unzipper = TestedApps.unzipLatestBuild.Run();
while (unzipper.Exists) {
delay(10e3);
}
Then include 7z.exe as a TestedApp.
Routine to extract a zip file would then be:
TestedApps.UNZIP.Params.SimpleParams.CommandLineParameters = 'x "' + zipFile + '" -o' + outputFolder + ' -aoa';
var unzipper = TestedApps.unzipLatestBuild.Run();
while (unzipper.Exists) {
delay(10e3);
}