diff --git a/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs b/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs index 05036d7a0f..d67bf50797 100644 --- a/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs +++ b/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs @@ -64,9 +64,10 @@ namespace Umbraco.Web.Runtime composition.Container.RegisterFrom(); - //register the install components if needed - if(composition.RuntimeLevel == RuntimeLevel.Install || composition.RuntimeLevel == RuntimeLevel.Upgrade) - composition.Container.RegisterFrom(); + //register the install components + //NOTE: i tried to not have these registered if we weren't installing or upgrading but post install when the site restarts + //it still needs to use the install controller so we can't do that + composition.Container.RegisterFrom(); var typeLoader = composition.Container.GetInstance(); var logger = composition.Container.GetInstance();