أوامر لتثبيت برنامج SmartFTP Client دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id SmartSoft.SmartFTP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SmartSoft.SmartFTP -e --silentwinget uninstall --id SmartSoft.SmartFTP -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين · en-US
التثبيت الصامت
msiexec /i SmartFTP.msi /qn /norestartكتابة ملف سجل
msiexec /i SmartFTP.msi /qn /norestart /l*v "%TEMP%\smartftp-client-install.log"إلغاء التثبيت
msiexec /x {63C178AC-76FF-4944-BF23-B326F8181FE5} /qn /norestart- رمز منتج MSI
- {63C178AC-76FF-4944-BF23-B326F8181FE5}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{63C178AC-76FF-4944-BF23-B326F8181FE5}
- UpgradeCode
- {2119EFC7-B9BF-445D-9DB9-A9052E8391C5}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-smartftp-client.ps1
$url = 'https://static.smartftp.com/static/Products/Client/10.0.3335.0/x64/SmartFTP.msi'
$sha256 = '9C7C730C8ED533B2E7C616053CAAD0594426B02E95DEC35BAE580935D6E40F2C'
$file = Join-Path $env:TEMP 'SmartFTP.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait