tis-nsclient icon

nsclient++

Silent install package for nsclient++

0.11.8-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-nsclient
  • name: nsclient++
  • version: 0.11.8-1
  • maintainer: Administrator
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 43.74 Mo
  • depends:

package           : tis-nsclient
version           : 0.11.8-1
architecture      : x86
section           : base
priority          : optional
name              : nsclient++
categories        : 
maintainer        : Administrator
description       : NSClient++ (nscp) aims to be a simple yet powerful and secure monitoring daemon
depends           : tis-vcredist2015-2022
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : c01fed0a-856b-4119-bb1b-cd04eaeddd82
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 8e14432ba2be217eed3a2134b9f4f76acf69cae201f0c37c98883f4e0484f5fb
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-24T19:30:08.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : ZAUlWTA1EgL4b68IrdCYmWePqQ7F2OXYyUeb6MFwS+XbVWxSlbD3W5AO6ygVnkU1Fus1ZOfoff0+cuHkbromz7W8sljrT9NKYnkXzaI++1zcbUMdiqcd8OkQ9Gp5KF0vC+h10j/vYbLsk6xV8FBxehM2ULzu/EUQpp384vgro63k57YO8BqrzZk1T+y22s3SNNYCR0yBkB6DFeE14oLHOWJ6ogB8b16uTvAwRzcji6iaENTrJZvUAC1y6OmciyttQiAXKMPplf/2r8/RbCMLm0dInpeGAdj7dUjTpnn/Tp7GxlVBQ5tbkny5MvE+eW3EBdMozZripkXvXfjTCu2NPw==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("NSCP-*.msi")[0]
    install_msi_if_needed(
        bin_name,
        timeout=600,
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/mickem/nscp/releases/latest"
    download_dict = {
        "windows-x64": "-x64.msi",
        "windows-x86": "-Win32.msi",

    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for to_download in json_load["assets"]:
        if download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
        print("Changing version to the version number of the binary")
        # os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

15f9893e09ac395c8aee3a78b3a2307ecf3e64ee61f1a32754311413ca3f90f7 : NSCP-0.11.8-Win32.msi
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
d7898d04397a22680777cd1c9401d50330da67aae7f6a68e9b52c83c225d2b67 : WAPT/control
8e14432ba2be217eed3a2134b9f4f76acf69cae201f0c37c98883f4e0484f5fb : WAPT/icon.png
7624ae0f15349b0d28c8557e5b4041e046e048bd39e672802aae9db590401d46 : luti.json
a0591873d9690bf62aecfa44c5eac59f7df498966de95f0cccb861fb3b4c5940 : setup.py
b7557c851ce451402b28ae9adcb458a859e51d492c2ce5e9859f2fd314e24c1b : update_package.py