Ordres per instal·lar alfaview 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 alfaview.alfaview -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id alfaview.alfaview -e --silentwinget uninstall --id alfaview.alfaview -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
alfaview-setup-win-production-9.30.5.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
alfaview-setup-win-production-9.30.5.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\alfaview"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\alfaview-production_64_is1
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i alfaview-setup-win-production-9.30.5.msi /qn /norestartDesar un registre
msiexec /i alfaview-setup-win-production-9.30.5.msi /qn /norestart /l*v "%TEMP%\alfaview-install.log"Desinstal·lar
msiexec /x {3D134C57-EDE5-47F9-A196-9103B7292AD8} /qn /norestart- Codi de producte MSI
- {3D134C57-EDE5-47F9-A196-9103B7292AD8}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3D134C57-EDE5-47F9-A196-9103B7292AD8}
- UpgradeCode
- {1E605AA3-430C-42F3-A86D-5B67F4C3A37F}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-alfaview.ps1
$url = 'https://assets.alfaview.com/stable/win/alfaview-setup-win-production-9.30.5.exe'
$sha256 = 'A21D4065B82DF30EAE7F584CC3A93A39532382BE1B7CC8771EE6C6BC662B2599'
$file = Join-Path $env:TEMP 'alfaview-setup-win-production-9.30.5.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-alfaview.ps1
$url = 'https://assets.alfaview.com/stable/win/alfaview-setup-win-production-9.30.5.msi'
$sha256 = 'E4744D33A04439D3B3DCFCFB9E4AD996E728C4D8E5EC8D63320D8FFA71738512'
$file = Join-Path $env:TEMP 'alfaview-setup-win-production-9.30.5.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