tis-nsclient 0.4.4.19-3

  • package : tis-nsclient
  • version : 0.4.4.19-3
  • description : NRPE pour Windows 32bits et 64bits
  • maintainer : TIS
  • date : 2018-02-27 19:04:14
  • 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/>.
#
# -----------------------------------------------------------------------
from setuphelpers import *

uninstallkey = []

def install():
  if iswin64():
    install_msi_if_needed('NSCP-0.4.4.19-x64.msi',killbefore='nscp.exe')
  else:
    install_msi_if_needed('NSCP-0.4.4.19-Win32.msi',killbefore='nscp.exe')

  print("copy nsclient.ini")
  if not isdir(makepath(programfiles,"NSClient++")) or not isdir(makepath(programfiles,"NSClient++",'scripts')):
    error('Destination dir not created propermy')
  filecopyto("nsclient.ini",makepath(programfiles,"NSClient++"))
  filecopyto("check_time.vbs",makepath(programfiles,"NSClient++","scripts"))
  filecopyto("check_ram.wsf",makepath(programfiles,"NSClient++","scripts"))
  filecopyto("CheckWindowsUpdateSettings.py",makepath(programfiles,"NSClient++","scripts"))
  filecopyto("check_searchindexer.py",makepath(programfiles,"NSClient++","scripts"))
  print ("restart nsclient")
  run_notfatal("net stop nscp")
  run_notfatal("net start nscp")

    

Changelog

No changelog
    

manifest.sha256

[["check_ram.wsf", "24005acf5e036bd4edd22db6e03870a6023647a3b7d2377848543331159b8fbb"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["check_searchindexer.py", "1764c2abae5477053a63ca54f50bc857735f1b398d207db269fb3d6680208922"], ["CheckWindowsUpdateSettings.py", "daba3becfbba3c3f41557476283d806204c78508911b2d0f37d58b4865505e47"], ["WAPT/icon.png", "9b2c87e29b0a67c90fd03d9257a20fec877089c63ce8ac93e44d77cd309c92f9"], ["check_time.vbs", "b77f0592304718f0ff195b7219d15e932b52923ea51932c427d9200f362884e8"], ["WAPT/control", "c3b23f4ecf92d13838cf3d2a7e810572012da53b5dbfcdc43157a8a370cb4502"], ["NSCP-0.4.4.19-x64.msi", "36c487777e9488cbf7a15db3a87f63ff6d6af46398d6f36b25734041e3e13900"], ["nsclient.ini", "64a6a2d5d31659fe1977b0da66a21d194db23baf74ff34f033d59ee09d973496"], ["setup.py", "7422723a8c283fed031c142c855e7ddd7083e2fcb87aa78205c141c4f8919324"], ["NSCP-0.4.4.19-Win32.msi", "f05bc00712966901531d5a9354c57e95c34eb65b4748cf3ebc305ccc8fa29cce"], ["WAPT/wapt.psproj", "798d3fe459b24e0460ace5be62ed6f6a46b3628442db63889ed4697c27047eb6"]]