Kommandoer til at installere Unity Hub uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id Unity.UnityHub -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Unity.UnityHub -e --silentwinget uninstall --id Unity.UnityHub -e --silentPr. installationsfil
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
UnityHubSetup-4.0.1-x64-msix-converter.exe /SEgen mappe
UnityHubSetup-4.0.1-x64-msix-converter.exe /S /D=C:\Apps\unity-hub- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity Technologies - Hub
- DisplayVersion
- 4.0.1
64-bit · MSIX
Lydløs installation
Add-AppxPackage -Path UnityHubSetup-4.0.1-x64.msixAfinstallation
Get-AppxPackage -Name UnityTechnologies.UnityHub | Remove-AppxPackageARM64 · EXE (NSIS) · Alle brugere
Lydløs installation
UnityHubSetup-4.0.1-arm64-msix-converter.exe /SEgen mappe
UnityHubSetup-4.0.1-arm64-msix-converter.exe /S /D=C:\Apps\unity-hub- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity Technologies - Hub
- DisplayVersion
- 4.0.1
ARM64 · MSIX
Lydløs installation
Add-AppxPackage -Path UnityHubSetup-4.0.1-arm64.msixAfinstallation
Get-AppxPackage -Name UnityTechnologies.UnityHub | Remove-AppxPackagePowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.1/UnityHubSetup-4.0.1-x64-msix-converter.exe'
$sha256 = 'EEB7F99330EB516D3E6B03191BB2E31CFFF9ADD5C263042A8AD123EE8D559B90'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.1-x64-msix-converter.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-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.1/UnityHubSetup-4.0.1-x64.msix'
$sha256 = '18EADB4B68330E4CFF7B8E8241E3713A6B7FAFE112AB51D7A24F086BDD35F18F'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.1-x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.1/UnityHubSetup-4.0.1-arm64-msix-converter.exe'
$sha256 = 'A01F79183B616941B487866CC97C0B1A9FF299D5D52B96DA5358BCA528BFF6C5'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.1-arm64-msix-converter.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-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.1/UnityHubSetup-4.0.1-arm64.msix'
$sha256 = '4059E58A531C00FE2388FB929526230FB5D940084517918D9F736E788D66844A'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.1-arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file