From 4b2580c65d856a795a9d16414166e51f8ac04ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Thu, 8 Oct 2026 14:43:55 +0200 Subject: [PATCH] installer: only kill the exporter process of this installation (#2542) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Claude Opus 5.5 Signed-off-by: Jan-Otto Kröpke --- installer/main.wxs | 56 +++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/installer/main.wxs b/installer/main.wxs index 6af8a6b5..b5ca3ba3 100644 --- a/installer/main.wxs +++ b/installer/main.wxs @@ -10,27 +10,27 @@ + ~ SPDX-License-Identifier: Apache-2.0 + ~ + ~ Copyright The Prometheus Authors + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> + xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui" + xmlns="http://wixtoolset.org/schemas/v4/wxs"> + Manufacturer="prometheus-community" Language="1033" Scope="perMachine"> @@ -85,19 +85,19 @@ + Error="The parameter '--config.file' must not be included in EXTRA_FLAGS. Use CONFIG_FILE instead. Please remove it and try again." /> + Property="REINSTALL" + Value="ALL" /> + See https://docs.microsoft.com/en-us/windows/desktop/Msi/reinstallmode --> + Property="REINSTALLMODE" + Value="amus" /> + @@ -151,7 +155,7 @@ + MSI, which will force reinstalling all files and services. -->