Paul_Huijbregts Installation and Onboarding packages for Windows Server 2016 works fine for us, but not for Windows Server 2012R2. Having the same issue on multiple machines:
The Installation package installer starts and goes through some steps, but then fails.
All windows patches installed, no MMA or third party antivirus software.
Investigating msi installer log points in the direction of the installer not having the permission to install WinDefent service.. but installing and removing other services works fine. Running the installer as admin, tried also running as system through psexec.
Here's some info from msi installer log, I could also provide you with the whole file.
MpWixCA [14:46:53:335] serviceconfig.cpp(341): Service 'WinDefend' is configured.
MpWixCA [14:46:53:335] serviceconfig.cpp(354): Service 'WinDefend' start type is 'SERVICE_AUTO_START(2)'
MpWixCA [14:46:53:335] serviceconfig.cpp(366): Service 'WinDefend' state is SERVICE_STOPPED(1). Starting it
MpWixCA [14:47:23:353] serviceconfig.cpp(377): 0x8007041d: UtilStartService('WinDefend', 360000ms)
MpWixCA [14:47:23:353] serviceconfig.cpp(291): 0x80070005: Cannot change launch type to 0 for service 'WinDefend'
MpWixCA [14:47:23:353] serviceconfig.cpp(408): END ServiceConfig, hr=0x8007041d
CustomAction ConfigureWinDefend2 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (80:AC) [14:47:23:368]: Note: 1: 2265 2: 3: -2147287035
Currently stuck on the project, have a few hundred servers to onboard, so would appreciate your input on this. BR, Ruslan