Jan-Otto Kröpke
064ea74b6f
installer: fix arm64 msi installer ( #1623 )
2024-09-12 15:02:21 +02:00
Jan-Otto Kröpke
b3c0c58c17
installer: Add UI + Replace ADD_FIREWALL_EXCEPTION
with ADDLOCAL=FirewallException
( #1611 )
2024-09-06 22:29:50 +02:00
Jan-Otto Kröpke
b2548e02bd
installer: do not enable V1 counters by default ( #1555 )
2024-08-10 14:39:11 +02:00
Jan-Otto Kröpke
c99cf180d0
fix: makefile variable override ( #1482 )
2024-05-12 12:25:06 +02:00
Jan-Otto Kröpke
b8747045ce
Enable process V1 performance counters by default ( #1477 )
2024-05-12 00:24:52 +02:00
Jan-Otto Kröpke
de8a1ebbfe
Do not add "--web.listen-address" to service if default values are provided ( #1452 )
2024-05-03 07:30:48 +02:00
Jan-Otto Kröpke
c8b06e86b0
installer: Disable Windows Firewall Exception by default. Can be re-enabled with ADD_FIREWALL_EXCEPTION=yes
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2024-04-20 23:30:48 +02:00
Dinifarb
bd7d7be6ea
fix:( #1382 ): update TextfileDirFlag to TextfileDirsFlag
...
Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
2024-01-12 16:54:29 +01:00
Dinifarb
b4c0874ca4
fix:( #1382 ): rename TEXTFILE_DIR to TEXTFILE_DIRS
...
Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
2024-01-12 16:46:18 +01:00
Jan-Otto Kröpke
fd20f6f16a
Remove i386 builds
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2024-01-08 19:59:15 +01:00
Jan-Otto Kröpke
e76b739e30
Remove old event source registry key
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-12-05 09:09:48 +01:00
Jan-Otto Kröpke
49d9097bf9
Remove old event source registry key
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-12-05 09:09:48 +01:00
Jan-Otto Kröpke
63e7fa3054
Remove old event source registry key
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-12-05 09:09:48 +01:00
Ben Reedy
7feafc1238
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 <breed808@breed808.com>
2023-12-05 05:43:13 +10:00
Ben Reedy
d4b48e52e6
feat: Add ARM64 MSI builds
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-12-05 05:43:09 +10:00
Ben Reedy
f1b2b319f5
feat: Update WiX from v3 to v4
...
This change updates WiX to the latest major upstream version, which is a
prerequisite for ARM64 MSI builds.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-12-05 05:43:05 +10:00
Ben Reedy
76e73487e4
fix: Set correct eventlog flag for MSI installer
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-07-22 08:38:09 +10:00
Jan-Otto Kröpke
8509bc69a6
switch to go-kit logger
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-07-09 22:37:27 +02:00
Brandon Kauffman
134f62511f
Compatibily with ne flag web.listen-address
...
Signed-off-by: Brandon Kauffman <bck01215@gmail.com>
2022-11-18 20:02:42 -05:00
Ben Reedy
be004b8423
Port should default to 9182 if not defined
...
Resolves #911 which was introduced by 45e9357a
.
This is due to the exporter only using the default port if no LISTEN_ADDR
**and** no LISTEN_PORT is defined.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2022-01-06 07:57:31 +10:00
Ben Reedy
45e9357ad9
Remove explicit LISTEN_PORT from MSI installer
...
Explicit setting of listening port in the service definition causes port
setting in configuration file to be ignored.
Exporter already defines a default port (9812) if one is not specified,
so no impact from this change is anticipated.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-12-18 18:34:47 +10:00
Calle Pettersson
7a16d111b0
Clarify supported versions of Windows
...
Installation on versions previous to Win7/Server2008R2 will now fail
Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-11-23 12:40:19 +10:00
Calle Pettersson
0880ec6a1a
Add service dependency on wmiApSrv
...
This appears to fix service startup issues on certain systems, eg #637
Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-11-02 08:38:42 +10:00
Calle Pettersson
a30422c31c
Merge pull request #597 from prometheus-community/installer-phase
...
Change upgrade phase
2020-10-10 10:27:47 +02:00
siku4
2ebea42de5
Enable the use of remote ip addresses for fw rule
...
Signed-off-by: siku4 <sk@sik-net.de>
2020-10-05 11:46:39 +02:00
Calle Pettersson
d39d5230ab
Change upgrade phase
...
With afterInstallExecute, the old installation is only removed after the new one is finished, which has led to some users seeing the new version failing to start, leading to the install rolling back. afterInstallInitialize, in contrast, uninstalls before the new installation.
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2020-09-12 16:38:41 +02:00
Calle Pettersson
10caabe0b1
Update CI and installer
2020-05-24 20:54:35 +02:00
Calle Pettersson
2053dea3ac
Fix log message source ( #312 )
2019-01-23 02:25:23 +01:00
Kevin Pettijohn
b2cb04834a
MSI parameter - EXTRA_FLAGS ( #291 )
...
Added the parameter called EXTRA_FLAGS to handle additional unspecified flags within the MSI installer.
2018-11-29 20:14:37 +01:00
Calle Pettersson
de4838454a
Merge pull request #186 from martinlindhe/service-recovery
...
Set service recovery to restart on crash
2018-04-06 07:19:44 +02:00
Calle Pettersson
076af99418
Set service recovery to restart on crash
2018-04-05 08:37:23 +02:00
Calle Pettersson
76bb06b32f
Create textfile_inputs directory during install
2018-04-05 08:17:52 +02:00
Patrick O'Brien
cf792394f3
Bring the textfile collector over from node_exporter ( #174 )
...
Bring the textfile collector over from node_exporter
This adds a slightly modified textfile collector from the official
node_exporter project.
2018-04-03 21:37:10 +02:00
Calle Pettersson
caa46799f8
Update installer with new flags
2018-03-25 10:01:56 +02:00
Martin Lindhe
cede267565
installer/build.ps1: autoformat
2018-03-14 11:12:02 +01:00
Martin Lindhe
191debeed6
installer/build.ps1: update to use TLS 1.2 when downloading from github due to https://blog.github.com/2018-02-23-weak-cryptographic-standards-removed/ , fixes usage on Win10
2018-03-14 11:11:36 +01:00
Calle Pettersson
691b672a1e
Add DisplayName and Description to Windows service ( #100 )
2017-08-10 02:13:32 +02:00
Calle Pettersson
0c4c15c4ce
Update WiX download url ( #84 )
...
WiX is now on GitHub, which means stable download urls. Yay!
2017-06-27 14:10:38 +02:00
Calle Pettersson
ec6b786608
Update WiX url. Again.
2017-05-02 14:41:15 +02:00
Calle Pettersson
880ad4d07c
Ignore failures to setup the firewall exception during installation. This happens on Win2003 and WinXP
2017-04-10 15:13:56 +02:00
Calle Pettersson
a41b9de37c
Fix WiX download url
2017-03-17 19:23:03 +01:00
Martin Lindhe
a05febe069
install.ps1: fix wix download url
2017-03-04 09:13:38 +01:00
Calle Pettersson
b3567c379f
Add msi builder ( #19 )
...
Add msi builder. Installer is built and uploaded to Github as a release when master is tagged with a version string
2016-09-16 08:36:58 +02:00