This script will install the latest version of NTLite (some minor issues may occur as the installer for some reason needs to be closed manually? 🤔 maybe some one have an idea?
Update 2025-03-21:
Click to reveal
Click to hide
Updated the cleanup part to be correct.
Here we go:
$tp = "C:\TempPath"
mkdir $tp
$Url = "https://downloads.ntlite.com/files/NTLite_setup_x64.exe"
$Installer = "NTLite_setup_x64.exe"
Invoke-WebRequest -Uri $Url -OutFile $tp\$Installer
Start-Process -FilePath $tp\$Installer -ArgumentList "/SP /SILENT /NORESTART /CLOSEAPPLICATIONS" -Wait
Start-Sleep -Seconds 30
del $tp\$Installer