Kommandon för att installera Classic Shell utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id IvoSoft.ClassicShell -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id IvoSoft.ClassicShell -e --silentwinget uninstall --id IvoSoft.ClassicShell -e --silentPer installationsfil
Alla processorer · EXE
Tyst installation
download /qnPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-classic-shell.ps1
$url = 'https://sourceforge.net/projects/classicshell/files/Version%204.3.1%20general%20release/ClassicShellSetup_4_3_1.exe/download'
$sha256 = '8BBD850FD8A2B41D090FBF8E005F9A5A76C774ACA643318A8A34254F99F79ED8'
$file = Join-Path $env:TEMP 'download'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/qn' -Wait