Ordres per instal·lar Netpas Message 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 Seafuture.NetpasMessage -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Seafuture.NetpasMessage -e --silentwinget uninstall --id Seafuture.NetpasMessage -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
NetpasMessageSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
NetpasMessageSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\netpas-message"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5744BE9E-4C12-4A23-BFFD-BBAE8C84456E}_is1
32 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
NetpasMessageSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
NetpasMessageSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\netpas-message"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5744BE9E-4C12-4A23-BFFD-BBAE8C84456E}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-netpas-message.ps1
$url = 'https://file.netpas.net/ftp/NetpasMessageSetup.exe'
$sha256 = '9661BE1A86783B73EDF5E1BBE146EB0ED6065BB938825960548D9BD286ACCC1D'
$file = Join-Path $env:TEMP 'NetpasMessageSetup.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-netpas-message.ps1
$url = 'https://file.netpas.net/ftp/NetpasMessageSetup.exe'
$sha256 = '9661BE1A86783B73EDF5E1BBE146EB0ED6065BB938825960548D9BD286ACCC1D'
$file = Join-Path $env:TEMP 'NetpasMessageSetup.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