diff --git a/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs b/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs index 17fc9134a2..9521fb38c8 100644 --- a/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs +++ b/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs @@ -451,9 +451,9 @@ private static void set_licensed_options(ChocolateyConfiguration config, Chocola if (licensedConfigBuilder == null) { - if (config.RegularOutput) "chocolatey".Log().Warn(ChocolateyLoggers.Important, -@"Unable to set licensed configuration. This is likely related to a - missing or outdated licensed DLL."); + if (config.RegularOutput) "chocolatey".Log().Warn(ChocolateyLoggers.Important, + @"Unable to set licensed configuration. Please upgrade to a newer + licensed version."); return; } try diff --git a/src/chocolatey/infrastructure.app/configuration/EnvironmentSettings.cs b/src/chocolatey/infrastructure.app/configuration/EnvironmentSettings.cs index 072a2c20d1..0e9e92246e 100644 --- a/src/chocolatey/infrastructure.app/configuration/EnvironmentSettings.cs +++ b/src/chocolatey/infrastructure.app/configuration/EnvironmentSettings.cs @@ -107,9 +107,8 @@ private static void set_licensed_environment(ChocolateyConfiguration config) if (licensedEnvironmentSettings == null) { if (config.RegularOutput) "chocolatey".Log().Warn( - ChocolateyLoggers.Important, - @"Unable to set licensed environment. This is likely related to a - missing or outdated licensed DLL."); + ChocolateyLoggers.Important, @"Unable to set licensed environment settings. Please upgrade to a newer + licensed version."); return; } try @@ -128,7 +127,7 @@ private static void set_licensed_environment(ChocolateyConfiguration config) { "chocolatey".Log().Error( ChocolateyLoggers.Important, - @"Error when setting configuration for '{0}':{1} {2}".format_with( + @"Error when setting environment for '{0}':{1} {2}".format_with( licensedEnvironmentSettings.FullName, Environment.NewLine, ex.Message