diff --git a/automatic/hikvision-sadp/README.md b/automatic/hikvision-sadp/README.md deleted file mode 100644 index 008a21ecc..000000000 --- a/automatic/hikvision-sadp/README.md +++ /dev/null @@ -1,17 +0,0 @@ -[![](https://img.shields.io/chocolatey/v/hikvision-sadp?color=green&label=hikvision-sadp)](https://chocolatey.org/packages/hikvision-sadp) [![](https://img.shields.io/chocolatey/dt/hikvision-sadp)](https://chocolatey.org/packages/hikvision-sadp) - -## Hikvision Search Active Devices Protocol (Install) - -### Software Description: -Search Active Devices Protocol software is user-friendly and installation-free online -device search tool. It searches the active online devices within your subnet and -displays the information of the devices. You can also modify the basic network -information of the devices using this software. - -#### [choco://hikvision-sadp](choco://hikvision-sadp) -To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support) - -### Package-specific issue -If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose) - -Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano) diff --git a/automatic/hikvision-sadp/hikvision-sadp.nuspec b/automatic/hikvision-sadp/hikvision-sadp.nuspec deleted file mode 100644 index a884a4cc9..000000000 --- a/automatic/hikvision-sadp/hikvision-sadp.nuspec +++ /dev/null @@ -1,43 +0,0 @@ - - - - hikvision-sadp - 3.0.1.7 - Hikvision Search Active Devices Protocol (Install) - Hikvision - tunisiano - https://www.hikvision.com/en/Auxiliary-column/General-Terms-of-Use - https://www.hikvision.com/en/Support/Downloads/Tools - https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@a0db3f400e4be2725afa31baf984562ef86b4141/icons/hikvision-sadp.png - false - --- - -###[choco://hikvision-sadp](choco://hikvision-sadp) -To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support) - ---- - -###Software Description: -Search Active Devices Protocol software is user-friendly and installation-free online -device search tool. It searches the active online devices within your subnet and -displays the information of the devices. You can also modify the basic network -information of the devices using this software. - -**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/hikvision-sadp/readme.md)** - - ---- - -**Click here to [Patreon-ize](https://www.patreon.com/bcurran3) the package maintainer.** - ---- - SADP searches for and configures Hikvision devices on your local network. - COPYRIGHT Hangzhou Hikvision Digital Technology Co., Ltd. - hikvision sadp sadptool - https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/hikvision-sadp - https://us.hikvision.com/sites/default/files/sadp.3.0.1.4.win32.user_manual.pdf - - - - - diff --git a/automatic/hikvision-sadp/tools/SADPTool.iss b/automatic/hikvision-sadp/tools/SADPTool.iss deleted file mode 100644 index 419ae5f9d..000000000 --- a/automatic/hikvision-sadp/tools/SADPTool.iss +++ /dev/null @@ -1,36 +0,0 @@ -[InstallShield Silent] -Version=v7.00 -File=Response File -[File Transfer] -OverwrittenReadOnly=NoToAll -[{7D9B79C2-B1B2-433B-844F-F4299B86F26E}-DlgOrder] -Dlg0={7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdWelcome-0 -Count=6 -Dlg1={7D9B79C2-B1B2-433B-844F-F4299B86F26E}-AskOptions-0 -Dlg2={7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdAskDestPath2-0 -Dlg3={7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdStartCopy2-0 -Dlg4={7D9B79C2-B1B2-433B-844F-F4299B86F26E}-AskOptions-1 -Dlg5={7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdFinish-0 -[{7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdWelcome-0] -Result=1 -[{7D9B79C2-B1B2-433B-844F-F4299B86F26E}-AskOptions-0] -Result=1 -Sel-0=1 -Sel-1=0 -[{7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdAskDestPath2-0] -szDir=C:\Program Files (x86)\SADPTool -Result=1 -[{7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdStartCopy2-0] -Result=1 -[Application] -Name=SADPTool -Version=3.0.1.7 -Company=hikvision -Lang=0409 -[{7D9B79C2-B1B2-433B-844F-F4299B86F26E}-AskOptions-1] -Result=1 -Sel-0=1 -[{7D9B79C2-B1B2-433B-844F-F4299B86F26E}-SdFinish-0] -Result=1 -bOpt1=0 -bOpt2=0 diff --git a/automatic/hikvision-sadp/tools/chocolateyinstall.ps1 b/automatic/hikvision-sadp/tools/chocolateyinstall.ps1 deleted file mode 100644 index c26767082..000000000 --- a/automatic/hikvision-sadp/tools/chocolateyinstall.ps1 +++ /dev/null @@ -1,30 +0,0 @@ -$ErrorActionPreference = 'Stop' -$packageName = 'hikvision-sadp' -$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$url = 'https://oversea-download.hikvision.com//uploadfile/Soft/Tools/SADP/for%20windows/V3.0.1.7/SADPTool.zip' -$checksum = '0FD9185E2E12B1C696D1A9D4818F974CF82A5FE0A6C721C808A27AA74EF52223' -$checksumType = 'sha256' - -$packageArgs = @{ - packageName = 'sadp' - unzipLocation = $toolsDir - fileType = 'ZIP' - url = $url - checksum = $checksum - checksumType = $checksumType -} - -Install-ChocolateyZipPackage @packageArgs - -$packageArgs = @{ - packageName = $packageName - fileType = 'EXE' - file = "$toolsDir\SADPTool.exe" - silentArgs = "/s /f1$toolsDir\SADPTool.iss" - validExitCodes = @(0) - softwareName = 'SADPTool' -} - -Install-ChocolateyInstallPackage @packageArgs - -Remove-Item "$toolsDir\SADPTool.*" -Force -EA SilentlyContinue | Out-Null diff --git a/automatic/hikvision-sadp/update.ps1 b/automatic/hikvision-sadp/update.ps1 deleted file mode 100644 index 7aa1da5bc..000000000 --- a/automatic/hikvision-sadp/update.ps1 +++ /dev/null @@ -1,33 +0,0 @@ -$ErrorActionPreference = 'Stop' -import-module au - -$releases = "https://www.hikvision.com/en/support/tools/hitools/clea8b3e4ea7da90a9/" - -function global:au_SearchReplace { - @{ - 'tools/chocolateyInstall.ps1' = @{ - "(^[$]url\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'" - "(^[$]checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'" - "(^[$]checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'" - } - } -} - -function global:au_AfterUpdate($Package) { - Invoke-VirusTotalScan $Package -} - -function global:au_GetLatest { - $page = Invoke-WebRequest -Uri $releases -UseBasicParsing - $regexPattern = 'data-href="([^"]+\.zip)"' - $versionMatch = $page.Content | Select-String -Pattern $regexPattern -AllMatches - $url32 = $versionMatch.Matches[0].Groups[1].Value - $regexPattern = 'V([\d\.]+)' - $versionMatch = $page.Content | Select-String -Pattern $regexPattern -AllMatches - $version = $versionMatch.Matches[0].Groups[1].Value - - $Latest = @{ URL32 = $url32; Version = $version } - return $Latest -} - -update -ChecksumFor 32 diff --git a/icons/hikvision-sadp.png b/icons/hikvision-sadp.png deleted file mode 100644 index a25b0c78e..000000000 Binary files a/icons/hikvision-sadp.png and /dev/null differ diff --git a/tools/Check/exclude.txt b/tools/Check/exclude.txt index 0bf263efd..518477aa2 100644 --- a/tools/Check/exclude.txt +++ b/tools/Check/exclude.txt @@ -193,3 +193,4 @@ xfinder xmeters zimbra-desktop zona +hikvision-sadp