protected virtual void RegenerateServicesNamesForServices(RuntimeEnvironment runtimeEnvironment, params ServiceInstaller[] serviceInstallers) { foreach (ServiceInstaller serviceInstaller in serviceInstallers) { serviceInstaller.ServiceName += "_" + runtimeEnvironment.ToString().ToUpper(); serviceInstaller.Description += " (" + runtimeEnvironment.ToString() + " Environment)"; serviceInstaller.DisplayName += " (" + runtimeEnvironment.ToString() + ")"; } }