Rust (MSVC)을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
winget 사용
PowerShell
winget install --id Rustlang.Rust.MSVC -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Rustlang.Rust.MSVC -e --silentwinget uninstall --id Rustlang.Rust.MSVC -e --silent설치 파일별
64비트 · MSI · 모든 사용자
무인 설치
msiexec /i rust-1.99.1-x86_64-pc-windows-msvc.msi /qn /norestart로그 파일 저장
msiexec /i rust-1.99.1-x86_64-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\rust-msvc-install.log"제거
msiexec /x {148B6454-CC8F-45E7-B84A-7C22CCB69B86} /qn /norestart- MSI 제품 코드
- {148B6454-CC8F-45E7-B84A-7C22CCB69B86}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{148B6454-CC8F-45E7-B84A-7C22CCB69B86}
- UpgradeCode
- {123039F9-68E3-44F1-AC9F-C78ADD4D0723}
- 설치 폴더
- %ProgramFiles%/Rust
ARM64 · MSI · 모든 사용자
무인 설치
msiexec /i rust-1.99.1-aarch64-pc-windows-msvc.msi /qn /norestart로그 파일 저장
msiexec /i rust-1.99.1-aarch64-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\rust-msvc-install.log"제거
msiexec /x {D3A45B42-1B17-44DA-8C75-EDECD80879BF} /qn /norestart- MSI 제품 코드
- {D3A45B42-1B17-44DA-8C75-EDECD80879BF}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D3A45B42-1B17-44DA-8C75-EDECD80879BF}
- UpgradeCode
- {5805719C-45E9-4CF6-9CE7-1E8B57F3C243}
- 설치 폴더
- %ProgramFiles(x86)%/Rust
32비트 · MSI · 모든 사용자
무인 설치
msiexec /i rust-1.99.1-i686-pc-windows-msvc.msi /qn /norestart로그 파일 저장
msiexec /i rust-1.99.1-i686-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\rust-msvc-install.log"제거
msiexec /x {37BA825D-41BC-4FB5-97E6-016D2F1BC19A} /qn /norestart- MSI 제품 코드
- {37BA825D-41BC-4FB5-97E6-016D2F1BC19A}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{37BA825D-41BC-4FB5-97E6-016D2F1BC19A}
- UpgradeCode
- {5805719C-45E9-4CF6-9CE7-1E8B57F3C243}
- 설치 폴더
- %ProgramFiles(x86)%/Rust
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
install-rust-msvc.ps1
$url = 'https://static.rust-lang.org/dist/rust-1.99.1-x86_64-pc-windows-msvc.msi'
$sha256 = '11D5B1D217277B0C9CD1688B8682F046CF0D6778C58D8894309104F0FE860F23'
$file = Join-Path $env:TEMP 'rust-1.99.1-x86_64-pc-windows-msvc.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 install-rust-msvc.ps1
$url = 'https://static.rust-lang.org/dist/rust-1.99.1-aarch64-pc-windows-msvc.msi'
$sha256 = '9E1ABBFF9227FD4CD3849792D00946B799FB75E67067E7C8DD9FD21AB805B28C'
$file = Join-Path $env:TEMP 'rust-1.99.1-aarch64-pc-windows-msvc.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 install-rust-msvc.ps1
$url = 'https://static.rust-lang.org/dist/rust-1.99.1-i686-pc-windows-msvc.msi'
$sha256 = 'A0810F1743C4D8CA46DD9607245B048AAC4B785F3D916669AA8FFDD30D51609F'
$file = Join-Path $env:TEMP 'rust-1.99.1-i686-pc-windows-msvc.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