Příkazy pro instalaci programu Lt Sampling bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id ADInstruments.LtSampling -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ADInstruments.LtSampling -e --silentwinget uninstall --id ADInstruments.LtSampling -e --silentPodle instalátoru
64bit · MSIX
Tichá instalace
Add-AppxPackage -Path lt-sampling-1.5.1-9-g2f8db4c.msixOdinstalace
Get-AppxPackage -Name ADInstrumentsNZLimited.LtSampling | Remove-AppxPackage64bit · MSI
Tichá instalace
msiexec /i lt-sampling-1.5.1-9-g2f8db4c.msi /qn /norestartZapsat protokol
msiexec /i lt-sampling-1.5.1-9-g2f8db4c.msi /qn /norestart /l*v "%TEMP%\lt-sampling-install.log"Odinstalace
msiexec /x {DE692999-EB6C-4C5F-9066-8FC1D6156B6C} /qn /norestart- Kód produktu MSI
- {DE692999-EB6C-4C5F-9066-8FC1D6156B6C}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DE692999-EB6C-4C5F-9066-8FC1D6156B6C}
- UpgradeCode
- {C7C08EE9-D2E9-43EB-94F4-54DB93F66F3B}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-lt-sampling.ps1
$url = 'https://lt-sampling.kuracloud.com/win/1.5.2/lt-sampling-1.5.1-9-g2f8db4c.msix'
$sha256 = '5622C4AE024B71888B7E378B720CA0C10F8916B74FD619810CACFFF5D5BF8464'
$file = Join-Path $env:TEMP 'lt-sampling-1.5.1-9-g2f8db4c.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-lt-sampling.ps1
$url = 'https://lt-sampling.kuracloud.com/win/1.5.2/lt-sampling-1.5.1-9-g2f8db4c.msi'
$sha256 = 'E2039B6412FE04B1F3A6CDEF1066237471B483B4A92BEC8C3AA215B887ADCA18'
$file = Join-Path $env:TEMP 'lt-sampling-1.5.1-9-g2f8db4c.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