Kommandon för att installera vSpatial Remote Desktop utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id vSpatialInc.vSpatialRemoteDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id vSpatialInc.vSpatialRemoteDesktop -e --silentwinget uninstall --id vSpatialInc.vSpatialRemoteDesktop -e --silentPer installationsfil
64-bitars · EXE (Inno Setup)
Tyst installation
vSpatialRemoteWindowsSetup_release.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
vSpatialRemoteWindowsSetup_release.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vspatial-remote-desktop"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-vspatial-remote-desktop.ps1
$url = 'https://downloads.vspatial.com/dl1/vSpatialRemoteWindowsSetup_release.exe'
$sha256 = 'F474EB2C58D126B4FA9DA7CA00BAFEAE2EA26E268777D2EBEBA304EE724879C6'
$file = Join-Path $env:TEMP 'vSpatialRemoteWindowsSetup_release.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