Rustty programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id rustty.Rustty -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id rustty.Rustty -e --silentwinget uninstall --id rustty.Rustty -e --silentKurulum dosyasına göre
64 bit · MSI · Tüm kullanıcılar · en-US
Sessiz kurulum
msiexec /i Rustty_2.32.0_x64.msi /qn /norestartGünlük dosyası yaz
msiexec /i Rustty_2.32.0_x64.msi /qn /norestart /l*v "%TEMP%\rustty-install.log"Kaldırma
msiexec /x {9FFB3E62-C26C-4F2F-A964-E130BDCA621A} /qn /norestart- MSI ürün kodu
- {9FFB3E62-C26C-4F2F-A964-E130BDCA621A}
- Kaldırma kayıt defteri anahtarı
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9FFB3E62-C26C-4F2F-A964-E130BDCA621A}
- UpgradeCode
- {3B253B6F-30AE-53D8-984C-60148C2CAC85}
- Kurulum klasörü
- %ProgramFiles%/Rustty
- DisplayVersion
- 2.32.0
PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-rustty.ps1
$url = 'https://github.com/Aleixenandros/Rustty/releases/download/v2.32.0/Rustty_2.32.0_x64.msi'
$sha256 = '228C678024C666185A34D3219C51AD4E83359EA975ADF9511D8B1CB7908E68F9'
$file = Join-Path $env:TEMP 'Rustty_2.32.0_x64.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