Ordres per instal·lar VCC 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 mateo-ki.VCC -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id mateo-ki.VCC -e --silentwinget uninstall --id mateo-ki.VCC -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
VCC-1.3.0-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
VCC-1.3.0-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vcc"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7C3D61D4-2A5B-4E97-9C53-5B4E0D9A1F66}_is1
- Carpeta d’instal·lació
- %LocalAppData%\Programs\VCC
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
VCC-1.3.0-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
VCC-1.3.0-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vcc"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7C3D61D4-2A5B-4E97-9C53-5B4E0D9A1F66}_is1
- Carpeta d’instal·lació
- %LocalAppData%\Programs\VCC
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-vcc.ps1
$url = 'https://github.com/mateo-ki/vcc/releases/download/v1.3.0/VCC-1.3.0-win64.exe'
$sha256 = '179ACEE9E197117501DB09E99C35DCD4EC085B7E0F8FC7A9C00872A1D4C2CF29'
$file = Join-Path $env:TEMP 'VCC-1.3.0-win64.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 install-vcc.ps1
$url = 'https://github.com/mateo-ki/vcc/releases/download/v1.3.0/VCC-1.3.0-win64.exe'
$sha256 = '179ACEE9E197117501DB09E99C35DCD4EC085B7E0F8FC7A9C00872A1D4C2CF29'
$file = Join-Path $env:TEMP 'VCC-1.3.0-win64.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