دستورهایی برای نصب iDescriptor بدون پنجره و پرسش، حذف دوباره آن و تشخیص آن در ابزارهای توزیع نرمافزار. هر دستور فقط وقتی نمایش داده میشود که قطعی باشد: از مانیفست یا از پیشفرض مستند فناوری نصبکننده.
آموزش مرتبط: سوییچهای نصب بیصدا: MSI، NSIS و Inno Setup · حذف برنامه با رجیستری یا PowerShell در ویندوز
با winget
PowerShell
winget install --id iDescriptor.iDescriptor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id iDescriptor.iDescriptor -e --silentwinget uninstall --id iDescriptor.iDescriptor -e --silentبر اساس نصبکننده
۶۴ بیتی · MSI · همه کاربران
نصب بیصدا
msiexec /i iDescriptor-v0.6.2-Windows_x86_64.msi /qn /norestartنوشتن فایل لاگ
msiexec /i iDescriptor-v0.6.2-Windows_x86_64.msi /qn /norestart /l*v "%TEMP%\idescriptor-install.log"حذف نصب
msiexec /x {22FEA1A6-79B7-45D1-BDC6-719E64DF2369} /qn /norestart- کد محصول MSI
- {22FEA1A6-79B7-45D1-BDC6-719E64DF2369}
- کلید حذف در رجیستری
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22FEA1A6-79B7-45D1-BDC6-719E64DF2369}
- UpgradeCode
- {D6C5B4A3-F2E1-D0C9-B8A7-F6E5D4C3B2A1}
- پوشه نصب
- %ProgramFiles%\.\iDescriptor
PowerShell: دانلود، بررسی، نصب
فایل رسمی را دانلود میکند، هش SHA256 آن را بررسی میکند و آن را بیصدا نصب میکند.
install-idescriptor.ps1
$url = 'https://github.com/iDescriptor/iDescriptor/releases/download/v0.6.2/iDescriptor-v0.6.2-Windows_x86_64.msi'
$sha256 = '293082F940F6E52722F1DA4029A05888A778AAD2BB085B1087AFC3F1F4C69924'
$file = Join-Path $env:TEMP 'iDescriptor-v0.6.2-Windows_x86_64.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