Ordres per instal·lar TopNotify 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 SamsidParty.TopNotify -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SamsidParty.TopNotify -e --silentwinget uninstall --id SamsidParty.TopNotify -e --silentPer instal·lador
64 bits · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path TopNotify.MsixDesinstal·lar
Get-AppxPackage -Name 55968SamsidGameStudios.TopNotify | Remove-AppxPackageARM64 · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path TopNotify.ARM64.MsixDesinstal·lar
Get-AppxPackage -Name 55968SamsidGameStudios.TopNotify | Remove-AppxPackagePowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-topnotify.ps1
$url = 'https://github.com/SamsidParty/TopNotify/releases/download/3.1.1/TopNotify.Msix'
$sha256 = 'FA1ADFF5D6BD094F7CDBCBECAD70BEB92F8575C65347FE4619A8C4F9CEAA33C9'
$file = Join-Path $env:TEMP 'TopNotify.Msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-topnotify.ps1
$url = 'https://github.com/SamsidParty/TopNotify/releases/download/3.1.1/TopNotify.ARM64.Msix'
$sha256 = '8F0F57532189481F39ED916D5516B2E2CB88F00A92476DDC0CB09CDA846879BB'
$file = Join-Path $env:TEMP 'TopNotify.ARM64.Msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file