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. -->