Kommandoer til at installere Desktop Countdown Timer uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id SoftSea.DesktopCountdownTimer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SoftSea.DesktopCountdownTimer -e --silentwinget uninstall --id SoftSea.DesktopCountdownTimer -e --silentPr. installationsfil
32-bit · EXE (Inno Setup) · Alle brugere · en-US
Lydløs installation
get.php /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
get.php /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\desktop-countdown-timer"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{F44A1ACF-FC6D-4606-B233-8BA09EE9B575}_is1
- Installationsmappe
- %ProgramFiles%\Desktop Countdown Timer
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-desktop-countdown-timer.ps1
$url = 'https://file1.softsea.com/get.php?file=desktopcountdowntimer_setup.exe'
$sha256 = '13BCD6BCAF9C740F3751B20457DB76DCBA61CA187093C7621E7E77B039C9FB92'
$file = Join-Path $env:TEMP 'get.php'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait