12 Commits

Author SHA1 Message Date
Julian Brost
1e316b6663 Windows: log into separate "Icinga 2" log
Previously, Icinga 2 logged to the shared "Application" log provided by
default. Due to the comparatively high volume of log messages, this lead to
complaints and for the early logging (before the final logging configuration is
loaded and enabled), the behavior isn't configurable easily. By using our own
log file, this should be less annoying for users.

The log is named "Icinga 2" and the source "Icinga 2 General" because according
to the documentation, these names should not be the same: "You cannot use a
source name that has already been used as a log name." [1]

This naming allows for distributing messages across different sources in the
future (think "Icinga 2 ApiListener", "Icinga2 CheckerComponent", ...).
However, this requires registering all these names in the registry, so this is
just left as an option for now.

The existing "Icinga for Windows" log is not used on explicit request. [2]

[1] https://docs.microsoft.com/en-us/windows/win32/eventlog/event-sources
[2] https://github.com/Icinga/icinga2/issues/8996#issuecomment-1183013092
2022-07-14 14:04:00 +02:00
Julian Brost
6de9f58810 Add WindowsEventLogLogger 2021-06-21 15:15:54 +02:00
Michael Insel
54d9470c6b Use WixNetFxExtension to detect installed .NET
This implements the use of the WixNetFxExtension for the WIX toolset, to
detect the installed .NET Framework version. If the installed .NET
version is lower than 4.6 the installation process will terminate with
the note to install at least .NET Framework 4.6.

refs #7090
2019-04-29 12:19:05 +02:00
Markus Frosch
7b4e93b52a windows: Allow suppression of extra actions in the MSI package
By setting SUPPRESS_XTRA
2018-08-20 10:37:47 +02:00
Markus Frosch
ddc5b951b3
Revert "Implement support for the --env command-line argument" 2018-07-26 17:09:06 +02:00
Gunnar Beutner
c577554073 Implement support for the --env command-line argument 2018-06-27 13:15:52 +02:00
Gunnar Beutner
b12968881d Implement AppLocal deployment support for UCRT 2017-12-14 08:53:44 +01:00
Michael Friedrich
4d25afad21 Revert "Windows: Remove requirement for KB2999226 (VS2015)"
This reverts commit 5c4a833116654c9f742ffec3bbcd5e593c57f80b.
2017-11-17 12:59:26 +01:00
Michael Friedrich
5c4a833116 Windows: Remove requirement for KB2999226 (VS2015)
refs #11739
2016-07-06 17:11:21 +02:00
Gunnar Beutner
8b9bbd6f6e Fix "Run Icinga 2 wizard" option in the installer
refs #11449
2016-04-14 19:37:38 +02:00
Gunnar Beutner
936bd4aa0d Fix support for building debug MSI packages
refs #11449
2016-04-14 14:08:18 +02:00
Gunnar Beutner
63a7453e10 Make sure NSIS-based installations are uninstalled before we copy the new
files

refs #11449
2016-04-14 12:16:45 +02:00