คำสั่งสำหรับติดตั้ง 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แยกตามตัวติดตั้ง
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i iDescriptor-v0.6.2-Windows_x86_64.msi /qn /norestartบันทึกไฟล์ log
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