Kommandon för att installera Minecraft Note Block Studio 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 OpenNoteBlockStudio.MinecraftNoteBlockStudio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenNoteBlockStudio.MinecraftNoteBlockStudio -e --silentwinget uninstall --id OpenNoteBlockStudio.MinecraftNoteBlockStudio -e --silentPer installationsfil
Alla processorer · EXE (NSIS) · Aktuell användare
Tyst installation
Minecraft.Note.Block.Studio.exe /SEgen mapp
Minecraft.Note.Block.Studio.exe /S /D=C:\Apps\minecraft-note-block-studio- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Minecraft Note Block Studio
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-minecraft-note-block-studio.ps1
$url = 'https://github.com/OpenNBS/NoteBlockStudio/releases/download/v3.11.0/Minecraft.Note.Block.Studio.exe'
$sha256 = '35CDECCCB8D52C5CB8785306088E590C9F8F4B656F1D99877F832FD130B3B5C5'
$file = Join-Path $env:TEMP 'Minecraft.Note.Block.Studio.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