Ordres per instal·lar windows95 sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id FelixRieseberg.Windows95 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FelixRieseberg.Windows95 -e --silentwinget uninstall --id FelixRieseberg.Windows95 -e --silentPer instal·lador
64 bits · EXE · Usuari actual · en-US
Instal·lació silenciosa
windows95-5.0.1-setup-x64.exe --silent32 bits · EXE · Usuari actual · en-US
Instal·lació silenciosa
windows95-5.0.1-setup-ia32.exe --silentPowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-windows95.ps1
$url = 'https://github.com/felixrieseberg/windows95/releases/download/v5.0.1/windows95-5.0.1-setup-x64.exe'
$sha256 = 'EB5AC9EAA70A9F7D6B376CC658D610ECF000925B1647F300A1B10DE5D0B0BDCB'
$file = Join-Path $env:TEMP 'windows95-5.0.1-setup-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '--silent' -Wait install-windows95.ps1
$url = 'https://github.com/felixrieseberg/windows95/releases/download/v5.0.1/windows95-5.0.1-setup-ia32.exe'
$sha256 = 'F2448B80316EDDF9B8CB1A01F00B2978E93D66542BDBB8FB4DEB658F7105B694'
$file = Join-Path $env:TEMP 'windows95-5.0.1-setup-ia32.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '--silent' -Wait