Kommandon för att installera Foliole 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 campfirium.Foliole -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id campfirium.Foliole -e --silentwinget uninstall --id campfirium.Foliole -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
Foliole-Windows-x64-0.8.6.exe /SEgen mapp
Foliole-Windows-x64-0.8.6.exe /S /D=C:\Apps\foliole- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\96d2d4cb-1c3b-5798-a3ab-c7a47f0228bc
- Installationsmapp
- %LocalAppData%\Programs\Foliole
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
Foliole-Windows-x64-0.8.6.exe /SEgen mapp
Foliole-Windows-x64-0.8.6.exe /S /D=C:\Apps\foliole- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\96d2d4cb-1c3b-5798-a3ab-c7a47f0228bc
- Installationsmapp
- %ProgramFiles%\Foliole
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-foliole.ps1
$url = 'https://github.com/campfirium/foliole/releases/download/v0.8.6/Foliole-Windows-x64-0.8.6.exe'
$sha256 = '67004F1B84496C99BCD32C5FCF88010F220B60DE704FF3881EB5927193597E6D'
$file = Join-Path $env:TEMP 'Foliole-Windows-x64-0.8.6.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 '/S' -Wait install-foliole.ps1
$url = 'https://github.com/campfirium/foliole/releases/download/v0.8.6/Foliole-Windows-x64-0.8.6.exe'
$sha256 = '67004F1B84496C99BCD32C5FCF88010F220B60DE704FF3881EB5927193597E6D'
$file = Join-Path $env:TEMP 'Foliole-Windows-x64-0.8.6.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 '/S' -Wait