Ejemplo n.º 1
0
        private static void Uninstall(WindowsServiceInstaller srv)
        {
            bool ok = srv.UnInstallService(ServiceName);

            if (ok)
            {
                Console.WriteLine("Service uninstalled.");
                Loger.Debug("Service uninstalled.");
            }
            else
            {
                Console.WriteLine("There was a problem with uninstallation.");
                Loger.Debug("There was a problem with uninstallation.");
            }
        }
Ejemplo n.º 2
0
        private static void Uninstall(WindowsServiceInstaller srv)
        {
            bool ok = srv.UnInstallService(ServiceName);

            if (ok)
            {
                Console.WriteLine("Service uninstalled.");
                Loger.Debug("Service uninstalled.");
            }
            else
            {
                Console.WriteLine("There was a problem with uninstallation.");
                Loger.Debug("There was a problem with uninstallation.");
            }
        }