Comandos para instalar https://basemaster.org sem perguntas, removê-lo e detectá-lo em ferramentas de implantação. Um comando só aparece quando é certo: vem do manifesto ou do padrão documentado da tecnologia do instalador.
Guia relacionado: Instalação silenciosa: parâmetros MSI, NSIS e Inno · Desinstalar programa pelo registro ou PowerShell
Com winget
PowerShell
winget install --id WilsonGlasser.BaseMaster -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WilsonGlasser.BaseMaster -e --silentwinget uninstall --id WilsonGlasser.BaseMaster -e --silentPor instalador
64 bits · EXE (NSIS) · Usuário atual · en-US
Instalação silenciosa
BaseMaster_0.7.5_x64-setup.exe /SOutra pasta
BaseMaster_0.7.5_x64-setup.exe /S /D=C:\Apps\https-basemaster-org- Chave de desinstalação no registro
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BaseMaster
- Pasta de instalação
- %LocalAppData%\BaseMaster
PowerShell: baixar, verificar, instalar
Baixa o arquivo oficial, confere o SHA256 e instala em modo silencioso.
install-https-basemaster-org.ps1
$url = 'https://github.com/wilsonglasser/basemaster/releases/download/v0.7.5/BaseMaster_0.7.5_x64-setup.exe'
$sha256 = 'ED450AE29DD438FF6B1E6C789AE152D6EE1D87F0C56A191A1A00701D42F2E6CC'
$file = Join-Path $env:TEMP 'BaseMaster_0.7.5_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