Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added packaging/windows/snclient.ico
Binary file not shown.
5 changes: 5 additions & 0 deletions packaging/windows/snclient.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<Product Name="SNClient" Id="*" UpgradeCode="F4BF03F6-D3DA-44FF-A444-9B64119DA0CE" Language="1033" Codepage="1252" Version="$(var.MajorVersion).$(var.MinorVersion).$(var.RevisionNumber)" Manufacturer="ConSol Consulting and Solutions Software GmbH">
<Package InstallScope="perMachine" InstallerVersion="$(var.InstallerVersion)" Compressed="yes" />
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed. It must be uninstalled for downgrades." />
<Icon Id="SNClientIcon.ico" SourceFile="packaging\windows\snclient.ico" />
<Property Id="REBOOT" Value="ReallySuppress" />
<Property Id="MSIRESTARTMANAGERCONTROL" Value="Disable" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
Expand All @@ -27,6 +28,10 @@
<Property Id="PROMETHEUSSERVERPORT" Value="9999" />
<Property Id="PASSWORD" Value="CHANGEME" />
<Property Id="ALLOWEDHOSTS" Value="127.0.0.1, ::1" />
<Property Id="ARPPRODUCTICON" Value="SNClientIcon.ico" />
<SetProperty Id="ARPINSTALLLOCATION" Value="[INSTALLDIR]" After="CostFinalize" />
<Property Id="ARPHELPLINK" Value="https://omd.consol.de/docs/snclient/" />
<Property Id="ARPURLINFOABOUT" Value="https://github.com/ConSol-Monitoring/snclient" />
<UI Id="InstallDialog">
<UIRef Id="MyWixUI_InstallDir" />
</UI>
Expand Down
67 changes: 67 additions & 0 deletions packaging/winget/ConSol.SNClient.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.12.0.schema.json

PackageIdentifier: ConSol.SNClient
PackageVersion: 1.01.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be automatically increased during releases, or is this a new manual step?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the manifest should be automatically changed in each release.

But that can be automated later in a separate PR.

The first manifest can be static, as it will be used in submission to the repository:
https://github.com/microsoft/winget-pkgs/pulls

Afterwards I will look into #496 and the spectopo bot that they seem to be using for automatic updates.

https://github.com/microsoft/winget-pkgs/pulls?q=is%3Apr+state%3Aopen+author%3Aspectopo

InstallerLocale: en-US
InstallerType: wix
Scope: machine
ElevationRequirement: elevatesSelf
InstallModes:
- interactive
- silent
- silentWithProgress
InstallerSwitches:
InstallLocation: INSTALLDIR="<INSTALLPATH>"
UpgradeBehavior: install
ReleaseDate: 2026-10-29
Comment thread
inqrphl marked this conversation as resolved.
Resolved
Installers:
- Architecture: x64
InstallerUrl: https://github.com/ConSol-Monitoring/snclient/releases/download/v1.01/snclient-1.01-windows-x86_64.msi
InstallerSha256: D2FD1F79B9FAFE3E20FF623F9F106D456686AEE5C9817E397BCBC785F6186BEF
ProductCode: '{E7699464-7A6A-434D-B4BC-9D903A71FC6A}'
AppsAndFeaturesEntries:
- DisplayName: SNClient
Publisher: ConSol Consulting and Solutions Software GmbH
ProductCode: '{E7699464-7A6A-434D-B4BC-9D903A71FC6A}'
UpgradeCode: '{F4BF03F6-D3DA-44FF-A444-9B64119DA0CE}'
InstallerType: wix
InstallationMetadata:
DefaultInstallLocation: '%ProgramFiles%\snclient'
Files:
- RelativeFilePath: snclient.exe
FileType: launch
InvocationParameter: --version
- Architecture: x86
InstallerUrl: https://github.com/ConSol-Monitoring/snclient/releases/download/v1.01/snclient-1.01-windows-i386.msi
InstallerSha256: 913CFC95074E5BC028854E8E92EEA4B8507C3312144ACDC176ADD82C69AC150E
ProductCode: '{AF073BD8-4769-4184-802C-0BEF3C963880}'
AppsAndFeaturesEntries:
- DisplayName: SNClient
Publisher: ConSol Consulting and Solutions Software GmbH
ProductCode: '{AF073BD8-4769-4184-802C-0BEF3C963880}'
UpgradeCode: '{F4BF03F6-D3DA-44FF-A444-9B64119DA0CE}'
InstallerType: wix
InstallationMetadata:
DefaultInstallLocation: '%ProgramFiles(x86)%\snclient'
Files:
- RelativeFilePath: snclient.exe
FileType: launch
InvocationParameter: --version
- Architecture: arm64
InstallerUrl: https://github.com/ConSol-Monitoring/snclient/releases/download/v1.01/snclient-1.01-windows-aarch64.msi
InstallerSha256: 1AB501A4CCFD0BA489A677FDDF1AB4119EA6E1BAB0F23CDFBD628C0633E03814
ProductCode: '{EEC19E7A-6A5B-46B8-AAEA-9DD787635766}'
AppsAndFeaturesEntries:
- DisplayName: SNClient
Publisher: ConSol Consulting and Solutions Software GmbH
ProductCode: '{EEC19E7A-6A5B-46B8-AAEA-9DD787635766}'
UpgradeCode: '{F4BF03F6-D3DA-44FF-A444-9B64119DA0CE}'
InstallerType: wix
InstallationMetadata:
DefaultInstallLocation: '%ProgramFiles%\snclient'
Files:
- RelativeFilePath: snclient.exe
FileType: launch
InvocationParameter: --version
ManifestType: installer
ManifestVersion: 1.12.0
44 changes: 44 additions & 0 deletions packaging/winget/ConSol.SNClient.locale.en-US.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.12.0.schema.json

PackageIdentifier: ConSol.SNClient
PackageVersion: 1.01.0
PackageLocale: en-US
Publisher: ConSol Consulting and Solutions Software GmbH
PublisherUrl: https://www.consol.com/
PublisherSupportUrl: https://github.com/ConSol-Monitoring/snclient/issues
Author: Sven Nierlein
PackageName: SNClient
PackageUrl: https://github.com/ConSol-Monitoring/snclient
License: MIT
LicenseUrl: https://github.com/ConSol-Monitoring/snclient/blob/main/LICENSE
Copyright: Copyright (c) 2023 Sven Nierlein
ShortDescription: SNClient is a general-purpose monitoring agent with NRPE and NSCP protocol support.
Description: |-
SNClient (Secure Naemon Client) is a multi-platform monitoring agent that
provides system checks and metrics via Prometheus HTTP(S), NRPE (v2/v4), and
the NSCP REST API. It ships with built-in checks for CPU, memory, disks,
network, processes, and services, and can run external scripts.
Moniker: snclient
Tags:
- monitoring
- naemon
- nagios
- icinga
- nrpe
- nscp
- prometheus
- agent
- windows
InstallationNotes: |-
SNClient installs as an automatically started Windows service in
C:\Program Files\snclient and adds a Windows Firewall rule named SNClient.
The default password "CHANGEME" is rejected at login. Set a password in
C:\Program Files\snclient\snclient.ini and restart the snclient service.
Use winget or msiexec to update MSI installations; "snclient.exe update"
only replaces the binary and does not update the MSI/ARP version.
ReleaseNotesUrl: https://github.com/ConSol-Monitoring/snclient/releases/tag/v1.01
Documentations:
- DocumentLabel: Documentation
DocumentUrl: https://omd.consol.de/docs/snclient/
ManifestType: defaultLocale
ManifestVersion: 1.12.0
7 changes: 7 additions & 0 deletions packaging/winget/ConSol.SNClient.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.12.0.schema.json

PackageIdentifier: ConSol.SNClient
PackageVersion: 1.01.0
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.12.0
Loading