Ordres per instal·lar AxCrypt 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
winget install --id AxCrypt.AxCrypt -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AxCrypt.AxCrypt -e --silentwinget uninstall --id AxCrypt.AxCrypt -e --silentPer instal·lador
32 bits · EXE (NSIS)
axcrypt-2-setup.exe /Saxcrypt-2-setup.exe /S /D=C:\Apps\axcryptmsiexec /x {9FB96B8C-6459-4DC5-CB2A-C047E1C53979} /qn /norestart- Codi de producte MSI
- {9FB96B8C-6459-4DC5-CB2A-C047E1C53979}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9FB96B8C-6459-4DC5-CB2A-C047E1C53979}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$url = 'https://account.axcrypt.net/download/axcrypt-2-setup.exe'
$sha256 = '1DED4505B8F342B4899CF316365D497C8D4E4B7E1E738952306E13D5C3ADFA02'
$file = Join-Path $env:TEMP 'axcrypt-2-setup.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 '/S' -Wait