Kommandoer til at installere Protecc 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 FireCubeStudios.Protecc -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FireCubeStudios.Protecc -e --silentwinget uninstall --id FireCubeStudios.Protecc -e --silentPr. installationsfil
64-bit · MSIX
Lydløs installation
Add-AppxPackage -Path 2505FireCubeStudios.Protecc_1.2.11.0_neutral___k45w5yt88e21j.MsixbundleAfinstallation
Get-AppxPackage -Name 2505FireCubeStudios.Protecc | Remove-AppxPackage32-bit · MSIX
Lydløs installation
Add-AppxPackage -Path 2505FireCubeStudios.Protecc_1.2.11.0_neutral___k45w5yt88e21j.MsixbundleAfinstallation
Get-AppxPackage -Name 2505FireCubeStudios.Protecc | Remove-AppxPackagePowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-protecc.ps1
$url = 'https://github.com/FireCubeStudios/Protecc/releases/download/v1.2.11.0/2505FireCubeStudios.Protecc_1.2.11.0_neutral___k45w5yt88e21j.Msixbundle'
$sha256 = 'F37964CEA0617BE452BB9508FAA3B6F3CAE87F5E4EC97E0A2D44891397E32589'
$file = Join-Path $env:TEMP '2505FireCubeStudios.Protecc_1.2.11.0_neutral___k45w5yt88e21j.Msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-protecc.ps1
$url = 'https://github.com/FireCubeStudios/Protecc/releases/download/v1.2.11.0/2505FireCubeStudios.Protecc_1.2.11.0_neutral___k45w5yt88e21j.Msixbundle'
$sha256 = 'F37964CEA0617BE452BB9508FAA3B6F3CAE87F5E4EC97E0A2D44891397E32589'
$file = Join-Path $env:TEMP '2505FireCubeStudios.Protecc_1.2.11.0_neutral___k45w5yt88e21j.Msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file