/// <summary>
 /// Method Uninstall.
 /// </summary>
 private void Uninstall()
 {
     if (WindowsServiceBase.ServiceExists(this._setupInfo.ServiceName))
     {
         WindowsServiceInstaller.RuntimeUninstall(this._setupInfo);
     }
     else
     {
         this.WriteToConsole(ConsoleColor.Red, "The specified service does not exist as an installed service.", true, false);
     }
 }
 /// <summary>
 /// Method Install.
 /// </summary>
 private void Install()
 {
     if (!WindowsServiceBase.ServiceExists(this._setupInfo.ServiceName))
     {
         WindowsServiceInstaller.RuntimeInstall(this._setupInfo);
     }
     else
     {
         this.WriteToConsole(ConsoleColor.Red, "The specified service already exists.", true, false);
     }
 }