From 7feafc123807b7c4743964995852a810721fd8db Mon Sep 17 00:00:00 2001 From: Ben Reedy Date: Mon, 20 Nov 2023 06:11:22 +1000 Subject: [PATCH] fix: Set default values for MSI web.listen-address This prevents the exporter HTTP port from being omitted from the firewall rule DisplayName. I've tested this in the following four scenarios, and web.listen-address is set correctly for each: * Nothing set: 0.0.0.0:9182 * LISTEN_PORT=9184: 0.0.0.0:9184 * LISTEN_ADDR=127.0.0.1: 127.0.0.1:9182 * LISTEN_PORT=9184 LISTEN_ADDR=127.0.0.1: 127.0.0.1:9184 Signed-off-by: Ben Reedy --- installer/windows_exporter.wxs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/installer/windows_exporter.wxs b/installer/windows_exporter.wxs index 65eff9e8..85762781 100644 --- a/installer/windows_exporter.wxs +++ b/installer/windows_exporter.wxs @@ -15,11 +15,8 @@ - - - - - + + @@ -39,7 +36,7 @@ - +