Kommandon för att installera NoteGen utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
NoteGen_0.38.2_x64-setup.exe /SEgen mapp
NoteGen_0.38.2_x64-setup.exe /S /D=C:\Apps\notegen- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NoteGen
64-bitars · MSI · Alla användare
Tyst installation
msiexec /i NoteGen_0.38.2_x64_en-US.msi /qn /norestartSkriv en logg
msiexec /i NoteGen_0.38.2_x64_en-US.msi /qn /norestart /l*v "%TEMP%\notegen-install.log"Avinstallation
msiexec /x {7D41FBC5-68EE-4819-9A3F-EA628C3BD81D} /qn /norestart- MSI-produktkod
- {7D41FBC5-68EE-4819-9A3F-EA628C3BD81D}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7D41FBC5-68EE-4819-9A3F-EA628C3BD81D}
- UpgradeCode
- {E353DB5D-25D7-5FA9-B7DC-C4BC524A075E}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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