Commands for installing NoteGen without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id codexu.NoteGen -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id codexu.NoteGen -e --silentwinget uninstall --id codexu.NoteGen -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
NoteGen_0.38.2_x64-setup.exe /SCustom folder
NoteGen_0.38.2_x64-setup.exe /S /D=C:\Apps\notegen- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NoteGen
64-bit · MSI · All users
Silent install
msiexec /i NoteGen_0.38.2_x64_en-US.msi /qn /norestartWrite a log
msiexec /i NoteGen_0.38.2_x64_en-US.msi /qn /norestart /l*v "%TEMP%\notegen-install.log"Uninstall
msiexec /x {7D41FBC5-68EE-4819-9A3F-EA628C3BD81D} /qn /norestart- MSI product code
- {7D41FBC5-68EE-4819-9A3F-EA628C3BD81D}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7D41FBC5-68EE-4819-9A3F-EA628C3BD81D}
- UpgradeCode
- {E353DB5D-25D7-5FA9-B7DC-C4BC524A075E}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-notegen.ps1
$url = 'https://github.com/codexu/note-gen/releases/download/note-gen-v0.38.2/NoteGen_0.38.2_x64-setup.exe'
$sha256 = '885428EC15657A1A17D6F16203D543401A949DEDFE5181E4866E7C81EA98AF9C'
$file = Join-Path $env:TEMP 'NoteGen_0.38.2_x64-setup.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-notegen.ps1
$url = 'https://github.com/codexu/note-gen/releases/download/note-gen-v0.38.2/NoteGen_0.38.2_x64_en-US.msi'
$sha256 = '116B7FFE379BCCC7FE5E0B3DC22ED7FC0D1A06578BD8BE177A91577EDDFBB1BD'
$file = Join-Path $env:TEMP 'NoteGen_0.38.2_x64_en-US.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait