8288961: jpackage: test MSI installation fix

Reviewed-by: asemenyuk, almatvee
This commit is contained in:
Alex Kasko 2022-06-28 17:06:08 +00:00 committed by Alexey Semenyuk
parent 1f36ed1fae
commit c67149be4b

View File

@ -92,7 +92,7 @@ public class WindowsHelper {
BiConsumer<JPackageCommand, Boolean> installMsi = (cmd, install) -> {
cmd.verifyIsOfType(PackageType.WIN_MSI);
runMsiexecWithRetries(Executor.of("msiexec", "/qn", "/norestart",
install ? "/i" : "/x").addArgument(cmd.outputBundle()));
install ? "/i" : "/x").addArgument(cmd.outputBundle().normalize()));
};
PackageHandlers msi = new PackageHandlers();