Ordres per instal·lar NetVane 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 GRCSAC.NetVane -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GRCSAC.NetVane -e --silentwinget uninstall --id GRCSAC.NetVane -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
NetVane-Setup-1.5.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
NetVane-Setup-1.5.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\netvane"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B2E9D4C-3A1F-4E58-9C2A-1D6B0F3E9A21}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-netvane.ps1
$url = 'https://netvane.doorvane.com/downloads/NetVane-Setup-1.5.0.exe'
$sha256 = '2BF1E9FB7B565A9A249B7E8B71F61C6FFE5F2517BD6C637967C341CF96EDC096'
$file = Join-Path $env:TEMP 'NetVane-Setup-1.5.0.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