أوامر لتثبيت برنامج AliasGUI دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Gary-zy.AliasGUI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Gary-zy.AliasGUI -e --silentwinget uninstall --id Gary-zy.AliasGUI -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
AliasGUI.Setup.1.0.0.exe /Sمجلد مخصص
AliasGUI.Setup.1.0.0.exe /S /D=C:\Apps\aliasgui- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\33fc876e-7b51-5cf1-99ba-5c04ca322267
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
AliasGUI.Setup.1.0.0.exe /Sمجلد مخصص
AliasGUI.Setup.1.0.0.exe /S /D=C:\Apps\aliasgui- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\33fc876e-7b51-5cf1-99ba-5c04ca322267
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-aliasgui.ps1
$url = 'https://github.com/Gary-zy/AliasGUI/releases/download/v1.0.0/AliasGUI.Setup.1.0.0.exe'
$sha256 = '7AB5BC5BF426E003AC398B5DAA69D73108B35E6B77536A62BBA35D93C130B9EE'
$file = Join-Path $env:TEMP 'AliasGUI.Setup.1.0.0.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-aliasgui.ps1
$url = 'https://github.com/Gary-zy/AliasGUI/releases/download/v1.0.0/AliasGUI.Setup.1.0.0.exe'
$sha256 = '7AB5BC5BF426E003AC398B5DAA69D73108B35E6B77536A62BBA35D93C130B9EE'
$file = Join-Path $env:TEMP 'AliasGUI.Setup.1.0.0.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