Alwats run python installer in the "/repair" mode on windows. (PY-64420)

it prevents failures when the python was installed and deleted previously, or it is in a corrupted state (previous installation was cancelled for example)

GitOrigin-RevId: ca373847db5ed694501da3db6e8a7e88aa15efd5
This commit is contained in:
Vitaly Legchilkin
2023-12-01 16:20:54 +01:00
committed by intellij-monorepo-bot
parent 961d3a64d5
commit a470903176

View File

@@ -30,7 +30,7 @@ class PkgReleaseInstaller : ResourceTypeReleaseInstaller(ResourceType.APPLE_SOFT
*/
class ExeReleaseInstaller : ResourceTypeReleaseInstaller(ResourceType.MICROSOFT_WINDOWS_EXECUTABLE) {
override fun buildCommandLine(resource: Resource, path: Path): GeneralCommandLine {
return GeneralCommandLine(path.absolutePathString(), "/quiet", "InstallAllUsers=0")
return GeneralCommandLine(path.absolutePathString(), "/repair", "/quiet", "InstallAllUsers=0")
}
}