tis-nsclient32

0.4.172-9
NRPE pour Windows 32bits
918 downloads
Download

  Description 

  • package : tis-nsclient32
  • version : 0.4.172-9
  • architecture : all
  • categories :
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • description : NRPE pour Windows 32bits
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T15:09:38.716597
  • Depends :

  Setup.py 

#!/usr/bin/python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2013  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------
import platform
from setuphelpers import *

uninstallkey = "{4F2220E1-7C35-4A82-BFC9-C28D233FFBC5}"

def install():
  print ("closing nscp")
  run_notfatal("taskkill /im nscp.exe /f")
  program_files_dir = os.environ['ProgramFiles']
  print("installing exe")
  run('msiexec /i NSCP-0.4.0.172-Win32.msi /quiet')
  print("copy nsclient.ini")
  filecopyto("nsclient.ini",os.path.join(program_files_dir,"NSClient++"))
  filecopyto("check_time.vbs",os.path.join(program_files_dir,"NSClient++","scripts"))
  filecopyto("CheckWindowsUpdateSettings.py",os.path.join(program_files_dir,"NSClient++","scripts"))
  filecopyto("check_searchindexer.py",os.path.join(program_files_dir,"NSClient++","scripts"))
  print ("restart nsclient")
  run_notfatal("net stop nscp")
  run_notfatal("net start nscp")
  return 0

										

  Changelog 


No changelog
  manifest.sha256 
[["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["check_searchindexer.py","1764c2abae5477053a63ca54f50bc857735f1b398d207db269fb3d6680208922"],["CheckWindowsUpdateSettings.py","daba3becfbba3c3f41557476283d806204c78508911b2d0f37d58b4865505e47"],["check_time.vbs","b77f0592304718f0ff195b7219d15e932b52923ea51932c427d9200f362884e8"],["WAPT/control","199e2c1731b5b75b78bb61cf9730811dbae8a97b8c5b4932392bee8e42bfc28b"],["setup.py","a191d341289466d7dae4787d5e24ef62cf80bd52d6af206438780f1c1ec1ac88"],["nsclient.ini","8bcb8a23b7e332ff6509ed55c63f5f066d30f6f551e4728153a022add2563d61"],["NSCP-0.4.0.172-Win32.msi","986b55339787c00347989457d436f14b51544ca87fc5976d59e64055e71eb1d1"]]