أوامر لتثبيت برنامج Foliole دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام 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 --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
Foliole-Windows-x64-0.8.2.exe /Sمجلد مخصص
Foliole-Windows-x64-0.8.2.exe /S /D=C:\Apps\foliole- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\96d2d4cb-1c3b-5798-a3ab-c7a47f0228bc
- مجلد التثبيت
- %LocalAppData%\Programs\Foliole
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
Foliole-Windows-x64-0.8.2.exe /Sمجلد مخصص
Foliole-Windows-x64-0.8.2.exe /S /D=C:\Apps\foliole- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\96d2d4cb-1c3b-5798-a3ab-c7a47f0228bc
- مجلد التثبيت
- %ProgramFiles%\Foliole
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-foliole.ps1
$url = 'https://github.com/campfirium/foliole/releases/download/v0.8.2/Foliole-Windows-x64-0.8.2.exe'
$sha256 = '1A9983FF76CB555C9ACC4A0D8BD8CDB4A01DDB97159FB81029AB5FE8B1429C82'
$file = Join-Path $env:TEMP 'Foliole-Windows-x64-0.8.2.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.2/Foliole-Windows-x64-0.8.2.exe'
$sha256 = '1A9983FF76CB555C9ACC4A0D8BD8CDB4A01DDB97159FB81029AB5FE8B1429C82'
$file = Join-Path $env:TEMP 'Foliole-Windows-x64-0.8.2.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