Príkazy na inštaláciu programu Code Notes bez otázok, na jeho odinštalovanie a na detekciu v nástrojoch na nasadzovanie. Príkaz je uvedený iba vtedy, keď je presne známy: z manifestu alebo zo zdokumentovaných parametrov technológie inštalátora.
Súvisiaci návod: Parametre tichej inštalácie: MSI, NSIS, Inno Setup · Odinštalovanie programu cez register alebo PowerShell
Cez winget
PowerShell
winget install --id lauthieb.code-notes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id lauthieb.code-notes -e --silentwinget uninstall --id lauthieb.code-notes -e --silentPodľa inštalátora
64-bit · EXE (NSIS) · Aktuálny používateľ
Tichá inštalácia
code-notes-1.2.4.exe /SVlastný priečinok
code-notes-1.2.4.exe /S /D=C:\Apps\code-notesPowerShell: stiahnuť, overiť, nainštalovať
Stiahne oficiálny súbor, overí SHA256 a program nainštaluje v tichom režime.
install-code-notes.ps1
$url = 'https://github.com/lauthieb/code-notes/releases/download/1.2.4/code-notes-1.2.4.exe'
$sha256 = '14371CBDD7E406D6946E2E7912739FAE032DBE4E40B83A9ED8B6A9D93DC2F567'
$file = Join-Path $env:TEMP 'code-notes-1.2.4.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