diff --git a/installer/windows_exporter.wxs b/installer/windows_exporter.wxs index ff8a8900..585d91eb 100644 --- a/installer/windows_exporter.wxs +++ b/installer/windows_exporter.wxs @@ -23,8 +23,10 @@ EXTRA_FLAGS - - LISTEN_ADDR OR LISTEN_PORT + + LISTEN_ADDR AND LISTEN_PORT + LISTEN_ADDR AND (NOT LISTEN_PORT) + LISTEN_PORT AND (NOT LISTEN_ADDR) METRICS_PATH @@ -50,7 +52,7 @@ [REMOTE_ADDR] - +