8290400: Must run exe installers in jpackage jtreg tests without UI
Reviewed-by: almatvee
This commit is contained in:
parent
d67e7ccda5
commit
1af7c33df5
@ -132,7 +132,9 @@ public class WindowsHelper {
|
||||
BiConsumer<JPackageCommand, Boolean> installExe = (cmd, install) -> {
|
||||
cmd.verifyIsOfType(PackageType.WIN_EXE);
|
||||
Executor exec = new Executor().setExecutable(cmd.outputBundle());
|
||||
if (!install) {
|
||||
if (install) {
|
||||
exec.addArgument("/qn").addArgument("/norestart");
|
||||
} else {
|
||||
exec.addArgument("uninstall");
|
||||
}
|
||||
runMsiexecWithRetries(exec);
|
||||
|
Loading…
Reference in New Issue
Block a user