คำสั่งสำหรับติดตั้ง Code Notes โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id lauthieb.code-notes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id lauthieb.code-notes -e --silentwinget uninstall --id lauthieb.code-notes -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
code-notes-1.2.4.exe /Sกำหนดโฟลเดอร์เอง
code-notes-1.2.4.exe /S /D=C:\Apps\code-notesPowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-code-notes.ps1
$url = 'https://github.com/lauthieb/code-notes/releases/download/1.2.4/code-notes-1.2.4.exe'
$sha256 = '14371CBDD7E406D6946E2E7912739FAE032DBE4E40B83A9ED8B6A9D93DC2F567'
$file = Join-Path $env:TEMP 'code-notes-1.2.4.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