คำสั่งสำหรับติดตั้ง RetroShare โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Retroshare.Retroshare -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Retroshare.Retroshare -e --silentwinget uninstall --id Retroshare.Retroshare -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x64-setup.exe /Sกำหนดโฟลเดอร์เอง
RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x64-setup.exe /S /D=C:\Apps\retroshare32 บิต · EXE (NSIS) · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x86-setup.exe /Sกำหนดโฟลเดอร์เอง
RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x86-setup.exe /S /D=C:\Apps\retrosharePowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-retroshare.ps1
$url = 'https://github.com/RetroShare/RetroShare/releases/download/v0.6.7.2/RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x64-setup.exe'
$sha256 = 'EA731150C791731D99EECEDBC9EAFD5BD73367D19CBCF6ACD56E7318DBD72CD0'
$file = Join-Path $env:TEMP 'RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-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-retroshare.ps1
$url = 'https://github.com/RetroShare/RetroShare/releases/download/v0.6.7.2/RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x86-setup.exe'
$sha256 = '34464A1711D7CBAA1C4D3A560917871D5A31921217B0D1184A93253982806079'
$file = Join-Path $env:TEMP 'RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x86-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