คำสั่งสำหรับติดตั้ง RustGIS โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id OpenGeos.RustGIS -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenGeos.RustGIS -e --silentwinget uninstall --id OpenGeos.RustGIS -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน · en-US
ติดตั้งแบบเงียบ
RustGIS-0.4.0-windows-x86_64-setup.exe /Sกำหนดโฟลเดอร์เอง
RustGIS-0.4.0-windows-x86_64-setup.exe /S /D=C:\Apps\rustgis- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustGIS
- โฟลเดอร์ที่ติดตั้ง
- %LocalAppData%\Programs\RustGIS
- DisplayVersion
- 0.4.0
64 บิต · MSI · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
msiexec /i RustGIS-0.4.0-windows-x86_64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i RustGIS-0.4.0-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\rustgis-install.log"ถอนการติดตั้ง
msiexec /x {72D41E56-F4E4-442C-BF4E-BDD4BCFF0625} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {72D41E56-F4E4-442C-BF4E-BDD4BCFF0625}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{72D41E56-F4E4-442C-BF4E-BDD4BCFF0625}
- UpgradeCode
- {B8624035-B7AF-41E7-BCAC-7C59DE885053}
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%/RustGIS
- DisplayVersion
- 0.4.0
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-rustgis.ps1
$url = 'https://github.com/opengeos/RustGIS/releases/download/v0.4.0/RustGIS-0.4.0-windows-x86_64-setup.exe'
$sha256 = 'AEF401A268A2894BA62F8854AA6CEFB710E7F4A13F3D04805BE40361CB089389'
$file = Join-Path $env:TEMP 'RustGIS-0.4.0-windows-x86_64-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-rustgis.ps1
$url = 'https://github.com/opengeos/RustGIS/releases/download/v0.4.0/RustGIS-0.4.0-windows-x86_64.msi'
$sha256 = '286283A14A119C43F646CAAB99E57B9B0B1C4DCEA4FCA369B681BCCC04FF70B9'
$file = Join-Path $env:TEMP 'RustGIS-0.4.0-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