From c859a4d2d5ae5020a8f36d1132edb8f264d2bcf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 20 Jun 2021 16:52:59 +0200 Subject: [PATCH] Uninstall vcredist before trying to reinstall it again For some reason vcredist doesn't check if it is already installed and a second install breaks it --- ci/win/build_installer.iss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/win/build_installer.iss b/ci/win/build_installer.iss index 02e556ce..bf6877c3 100644 --- a/ci/win/build_installer.iss +++ b/ci/win/build_installer.iss @@ -107,6 +107,10 @@ LaunchYACReaderLibrary=Start YACreaderLibrary after finishing installation LaunchYACReader=Start YACreader after finishing installation [Run] +Filename: {tmp}\vc_redist.{#PLATFORM}.exe; \ +Parameters: "/uninstall /quiet /norestart"; \ +StatusMsg: "Uninstalling VC++ Redistributables..." + Filename: {tmp}\vc_redist.{#PLATFORM}.exe; \ Parameters: "/install /quiet /norestart"; \ StatusMsg: "Installing VC++ Redistributables..."