Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icinga Agent Installer doesn't work on Windows Server 2016. #10346

Open
acid-eater opened this issue Feb 6, 2025 · 4 comments
Open

Icinga Agent Installer doesn't work on Windows Server 2016. #10346

acid-eater opened this issue Feb 6, 2025 · 4 comments

Comments

@acid-eater
Copy link

acid-eater commented Feb 6, 2025

Describe the bug
I tried to install the provided MSI on a Windows Server 2016, but the installer runs into an error.

To Reproduce
The installer is executed.
Icinga 2 Setup
Next
I accept the terms in the License Agreement
Next
C:\Program Files\ICINGA2
Next
Ready to install Icinga 2
Next
-->> there is a problem with this Windows Installer package, A program run as part of the setup did not finish as expected. Contact your support personnel or package.

Expected behavior
A successful installation.

Screenshots
Image

Your Environment
Installation of Icinga2-v2.14.5-x86_64.msi on Windows Server 2016 Standard

@acid-eater
Copy link
Author

acid-eater commented Feb 6, 2025

Is there a way to get logs to see what is going wrong?

@julianbrost
Copy link
Contributor

julianbrost commented Feb 6, 2025

Were you able to install previous versions on the same system? There were no changes in 2.14.5 that are specific to Windows.

When starting the installer with msiexec, additional flags can be passed, so to write a log file:

msiexec /l*v msiexec.log /i Icinga2-v2.14.5-x86_64.msi

@acid-eater
Copy link
Author

acid-eater commented Feb 7, 2025

Thank you very much for the help! Unfortunately, I don't have the expertise to solve the problem on my own. The log is surprisingly detailed, and I'm not sure what I should be looking for. If you have any questions, feel free to reach out.

msiexec_2_14_5.log
msiexec_2_14_3.log

Older clients also couldn't be installed on this system. However, I only tried installing them after attempting to install the latest version.

@acid-eater acid-eater changed the title Icinga Agent Installer funktioniert nicht unter Win Server 2016 Icinga Agent Installer doesn't work on Windows Server 2016. Feb 7, 2025
@julianbrost
Copy link
Contributor

The following should be the relevant part of the log (though not directly pointing at a cause):

MSI (s) (A0:98) [10:05:03:697]: Executing op: ActionStart(Name=XtraInstall,,)
Action 10:05:03: XtraInstall. 
MSI (s) (A0:98) [10:05:03:697]: Executing op: CustomActionSchedule(Action=XtraInstall,ActionType=3090,Source=C:\Program Files\ICINGA2\sbin\icinga2-installer.exe,Target=install,)
MSI (s) (A0:84) [10:05:03:697]: System Environment : Client has accepted UAC prompt
CustomAction XtraInstall returned actual error code -1073740791 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (A0:98) [10:05:03:962]: Note: 1: 1722 2: XtraInstall 3: C:\Program Files\ICINGA2\sbin\icinga2-installer.exe 4: install
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action XtraInstall, location: C:\Program Files\ICINGA2\sbin\icinga2-installer.exe, command: install
MSI (s) (A0:98) [10:05:05:759]: Product: Icinga 2 -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action XtraInstall, location: C:\Program Files\ICINGA2\sbin\icinga2-installer.exe, command: install

Action ended 10:05:05: InstallFinalize. Return value 3. 
MSI (s) (A0:98) [10:05:05:759]: Note: 1: 2265 2:  3: -2147287035

So there's an exe included in the installer that's run during the installation that fails. If C:\Program Files\ICINGA2\sbin\icinga2-installer.exe still exists when that error message is shown before you click OK, you could try to run it manually from PowerShell and see if this yields something useful (or from cmd.exe without the & in the beginning):

& "C:\Program Files\ICINGA2\sbin\icinga2-installer.exe" install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants