Հրամաններ՝ Ruby 4.0 ծրագիրն առանց հարցերի տեղադրելու, այն հեռացնելու և տարածման համակարգերում հայտնաբերելու համար։ Հրամանը ցուցադրվում է միայն այն դեպքում, երբ այն հաստատ հայտնի է՝ մանիֆեստից կամ տեղադրիչի տեխնոլոգիայի փաստաթղթավորված կարգավորումներից։
Առնչվող ուղեցույց: Լուռ տեղադրման պարամետրեր՝ MSI, NSIS, Inno Setup · Ծրագրի հեռացում ռեեստրի կամ PowerShell-ի միջոցով
winget-ով
PowerShell
winget install --id RubyInstallerTeam.Ruby.4.0 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RubyInstallerTeam.Ruby.4.0 -e --silentwinget uninstall --id RubyInstallerTeam.Ruby.4.0 -e --silentԸստ տեղադրիչի
64-բիթ · EXE (Inno Setup) · Ընթացիկ օգտատեր
Լուռ տեղադրում
rubyinstaller-4.0.9-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Այլ թղթապանակ
rubyinstaller-4.0.9-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-4-0"- Ռեեստրի հեռացման բանալի
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-4.0-x64-mingw-ucrt_is1
64-բիթ · EXE (Inno Setup) · Բոլոր օգտատերերը
Լուռ տեղադրում
rubyinstaller-4.0.9-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Այլ թղթապանակ
rubyinstaller-4.0.9-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-4-0"- Ռեեստրի հեռացման բանալի
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-4.0-x64-mingw-ucrt_is1
ARM64 · EXE (Inno Setup) · Ընթացիկ օգտատեր
Լուռ տեղադրում
rubyinstaller-4.0.9-1-arm.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Այլ թղթապանակ
rubyinstaller-4.0.9-1-arm.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-4-0"- Ռեեստրի հեռացման բանալի
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-4.0-aarch64-mingw-ucrt_is1
ARM64 · EXE (Inno Setup) · Բոլոր օգտատերերը
Լուռ տեղադրում
rubyinstaller-4.0.9-1-arm.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Այլ թղթապանակ
rubyinstaller-4.0.9-1-arm.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-4-0"- Ռեեստրի հեռացման բանալի
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-4.0-aarch64-mingw-ucrt_is1
PowerShell՝ ներբեռնել, ստուգել, տեղադրել
Ներբեռնում է պաշտոնական ֆայլը, ստուգում դրա SHA256-ը և լուռ տեղադրում։
install-ruby-4-0.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.9-1/rubyinstaller-4.0.9-1-x64.exe'
$sha256 = '7E079519349B06C445D6993542AE0B6E186CE1D9F3A24029E4AAB004DBA3BEE2'
$file = Join-Path $env:TEMP 'rubyinstaller-4.0.9-1-x64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-ruby-4-0.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.9-1/rubyinstaller-4.0.9-1-x64.exe'
$sha256 = '7E079519349B06C445D6993542AE0B6E186CE1D9F3A24029E4AAB004DBA3BEE2'
$file = Join-Path $env:TEMP 'rubyinstaller-4.0.9-1-x64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-ruby-4-0.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.9-1/rubyinstaller-4.0.9-1-arm.exe'
$sha256 = '88FC8027F1A11D96CE7CAB71E5F44BCC57ECE9947DDF2F08EB6A30D316C838D1'
$file = Join-Path $env:TEMP 'rubyinstaller-4.0.9-1-arm.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-ruby-4-0.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.9-1/rubyinstaller-4.0.9-1-arm.exe'
$sha256 = '88FC8027F1A11D96CE7CAB71E5F44BCC57ECE9947DDF2F08EB6A30D316C838D1'
$file = Join-Path $env:TEMP 'rubyinstaller-4.0.9-1-arm.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait