Befehle, um NLock ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Narula.NLock -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Narula.NLock -e --silentwinget uninstall --id Narula.NLock -e --silentNach Installer
64-Bit · MSI · en-US
Stille Installation
msiexec /i Narula.File.NLock.Setup.msi /qn /norestartProtokoll schreiben
msiexec /i Narula.File.NLock.Setup.msi /qn /norestart /l*v "%TEMP%\nlock-install.log"Deinstallation
msiexec /x {387710AE-06C0-4403-B9D2-6086845FEFAF} /qn /norestart- MSI-Produktcode
- {387710AE-06C0-4403-B9D2-6086845FEFAF}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{387710AE-06C0-4403-B9D2-6086845FEFAF}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-nlock.ps1
$url = 'https://appsdistributionstorage.blob.core.windows.net/msi/Narula/NLock/Narula.File.NLock.Setup.msi'
$sha256 = '72598FA2648EAFFE80068FD6C82096A94926776B8CA535EF38E1AB397609062B'
$file = Join-Path $env:TEMP 'Narula.File.NLock.Setup.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait