أوامر لتثبيت برنامج NextChat دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id NextChat.NextChat -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NextChat.NextChat -e --silentwinget uninstall --id NextChat.NextChat -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
NextChat_2.15.8_x64-setup.exe /Sمجلد مخصص
NextChat_2.15.8_x64-setup.exe /S /D=C:\Apps\nextchat- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NextChat
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i NextChat_2.15.8_x64_en-US.msi /qn /norestartكتابة ملف سجل
msiexec /i NextChat_2.15.8_x64_en-US.msi /qn /norestart /l*v "%TEMP%\nextchat-install.log"إلغاء التثبيت
msiexec /x {9BB1DC4C-8710-404C-98AF-76BADC374B03} /qn /norestart- رمز منتج MSI
- {9BB1DC4C-8710-404C-98AF-76BADC374B03}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9BB1DC4C-8710-404C-98AF-76BADC374B03}
- UpgradeCode
- {13D8FC51-8410-5876-9677-DD0F4D3321FE}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-nextchat.ps1
$url = 'https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/releases/download/v2.15.8/NextChat_2.15.8_x64-setup.exe'
$sha256 = 'FA270D75334418713A6EB75F8549EBE71AAA01CA754F46CC1082333B45BA8B4F'
$file = Join-Path $env:TEMP 'NextChat_2.15.8_x64-setup.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-nextchat.ps1
$url = 'https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/releases/download/v2.15.8/NextChat_2.15.8_x64_en-US.msi'
$sha256 = 'EF5E40FB07D74C2216B70A7C3D6008B392F6ADCBA4AB539FD02287F44A1CAE92'
$file = Join-Path $env:TEMP 'NextChat_2.15.8_x64_en-US.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