Ordres per instal·lar NoteWizard 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 jetyu.NoteWizard -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jetyu.NoteWizard -e --silentwinget uninstall --id jetyu.NoteWizard -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
NoteWizard-Windows-x64.exe /SUna altra carpeta
NoteWizard-Windows-x64.exe /S /D=C:\Apps\notewizard- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\311618b3-7e2c-5abf-a371-a033fb506899
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
NoteWizard-Windows-x64.exe /SUna altra carpeta
NoteWizard-Windows-x64.exe /S /D=C:\Apps\notewizard- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\311618b3-7e2c-5abf-a371-a033fb506899
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-notewizard.ps1
$url = 'https://github.com/jetyu/NoteWizard/releases/download/v1.2.1/NoteWizard-Windows-x64.exe'
$sha256 = '6604916B082AE25462D9112E8A589DF9850F7482AFE81C9A40827F74A63A105B'
$file = Join-Path $env:TEMP 'NoteWizard-Windows-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-notewizard.ps1
$url = 'https://github.com/jetyu/NoteWizard/releases/download/v1.2.1/NoteWizard-Windows-x64.exe'
$sha256 = '6604916B082AE25462D9112E8A589DF9850F7482AFE81C9A40827F74A63A105B'
$file = Join-Path $env:TEMP 'NoteWizard-Windows-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