คำสั่งสำหรับติดตั้ง Unity 6000 โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Unity.Unity.6000 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Unity.Unity.6000 -e --silentwinget uninstall --id Unity.Unity.6000 -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
UnitySetup64-6000.6.7f1.exe /Sกำหนดโฟลเดอร์เอง
UnitySetup64-6000.6.7f1.exe /S /D=C:\Apps\unity-6000- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity 6000.6.0f1
ARM64 · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
UnitySetupArm64-6000.6.7f1.exe /Sกำหนดโฟลเดอร์เอง
UnitySetupArm64-6000.6.7f1.exe /S /D=C:\Apps\unity-6000- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity 6000.6.0f1
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-unity-6000.ps1
$url = 'https://download.unity3d.com/download_unity/b22767f04f04/Windows64EditorInstaller/UnitySetup64-6000.6.7f1.exe'
$sha256 = '6FB33ECD14B9B1AABC70D36E4818CE2B67012729A60543913CB0C6E6F5371C27'
$file = Join-Path $env:TEMP 'UnitySetup64-6000.6.7f1.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-unity-6000.ps1
$url = 'https://download.unity3d.com/download_unity/b22767f04f04/WindowsArm64EditorInstaller/UnitySetupArm64-6000.6.7f1.exe'
$sha256 = '9D8940FF908EDFCF662D8F8A7D962467C972B110F636EF564DC909226BBBBD4D'
$file = Join-Path $env:TEMP 'UnitySetupArm64-6000.6.7f1.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