Ordres per instal·lar WitNote 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 hooosberg.WitNote -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id hooosberg.WitNote -e --silentwinget uninstall --id hooosberg.WitNote -e --silentPer instal·lador
64 bits · EXE (NSIS)
Instal·lació silenciosa
WitNote-1.3.3-setup-x64.exe /SUna altra carpeta
WitNote-1.3.3-setup-x64.exe /S /D=C:\Apps\witnote- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3f54ceed-7af9-51f7-88c3-90f3ff1abf70
ARM64 · EXE (NSIS)
Instal·lació silenciosa
WitNote-1.3.3-setup-arm64.exe /SUna altra carpeta
WitNote-1.3.3-setup-arm64.exe /S /D=C:\Apps\witnote- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3f54ceed-7af9-51f7-88c3-90f3ff1abf70
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-witnote.ps1
$url = 'https://github.com/hooosberg/WitNote/releases/download/v1.3.3/WitNote-1.3.3-setup-x64.exe'
$sha256 = 'F80BF0CD8C1578509CF6A4C9B57519B8EF135254819BA596851ECCCC620814C6'
$file = Join-Path $env:TEMP 'WitNote-1.3.3-setup-x64.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 install-witnote.ps1
$url = 'https://github.com/hooosberg/WitNote/releases/download/v1.3.3/WitNote-1.3.3-setup-arm64.exe'
$sha256 = 'CD5B64D9A4C0D32E36091E85E0B11754D2C27C956F9ED9A63246AFDE3D66E8AD'
$file = Join-Path $env:TEMP 'WitNote-1.3.3-setup-arm64.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