Ordres per instal·lar Volta sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Volta.Volta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Volta.Volta -e --silentwinget uninstall --id Volta.Volta -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i volta-2.0.2-windows-x86_64.msi /qn /norestartDesar un registre
msiexec /i volta-2.0.2-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\volta-install.log"Desinstal·lar
msiexec /x {73341A09-B693-496D-9FFE-0F2A86F3C922} /qn /norestart- Codi de producte MSI
- {73341A09-B693-496D-9FFE-0F2A86F3C922}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{73341A09-B693-496D-9FFE-0F2A86F3C922}
- UpgradeCode
- {42A39E14-335A-4464-AA37-17FDA38FA377}
ARM64 · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i volta-2.0.2-windows-arm64.msi /qn /norestartDesar un registre
msiexec /i volta-2.0.2-windows-arm64.msi /qn /norestart /l*v "%TEMP%\volta-install.log"Desinstal·lar
msiexec /x {B8314662-1519-41F6-8960-55F8D99CA755} /qn /norestart- Codi de producte MSI
- {B8314662-1519-41F6-8960-55F8D99CA755}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B8314662-1519-41F6-8960-55F8D99CA755}
- UpgradeCode
- {42A39E14-335A-4464-AA37-17FDA38FA377}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-volta.ps1
$url = 'https://github.com/volta-cli/volta/releases/download/v2.0.2/volta-2.0.2-windows-x86_64.msi'
$sha256 = '104BF5518177990E4C4DE78097CAA747EB8F64E1149BFDFA9106F4A3D3E5F10B'
$file = Join-Path $env:TEMP 'volta-2.0.2-windows-x86_64.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-volta.ps1
$url = 'https://github.com/volta-cli/volta/releases/download/v2.0.2/volta-2.0.2-windows-arm64.msi'
$sha256 = '90717F282BBFFC32BDBF9043BC91F4B00EA6BB02A5A26216EAF691EEABD2A99C'
$file = Join-Path $env:TEMP 'volta-2.0.2-windows-arm64.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