windows installer not starting on server 2019 containers, how to enable it?
I spinned up a container on my server 2019 machine using below command.
docker run -it -v c:\data:c:\shareddata mcr.microsoft.com/windows/servercore:ltsc2019 powershell
All the installers are failing, when I check the log file, I came to know windows installer service not running inside container.
But, starting it, get below error.
Set-Service –Name msiserver –StartupType "Manual"
Set-Service : Service 'Windows Installer (msiserver)' cannot be configured due to the following error: Access is denied At line:1 char:1
- Set-Service –Name msiserver –StartupType "Manual"
+ CategoryInfo : PermissionDenied: (System.ServiceProcess.ServiceController:ServiceController) [Set-Servi
ce], ServiceCommandException + FullyQualifiedErrorId : CouldNotSetService,Microsoft.PowerShell.Commands.SetServiceCommand
whoami user manager\containeradministrator
If I try direct installation of an msi, getting this error in the log.
Error 1719. Windows Installer service could not be accessed. Contact your support personnel to verify that it is properly registered and enabled.
Answers (0)
Be the first to answer this question