Comandos para instalar PL/SQL Developer 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 AllroundAutomations.PLSQLDeveloper -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AllroundAutomations.PLSQLDeveloper -e --silentwinget uninstall --id AllroundAutomations.PLSQLDeveloper -e --silentPor instalador
64 bits · MSI · Todos os usuários · en-US
Instalação silenciosa
msiexec /i plsqldev1703x64.msi /qn /norestartGravar log
msiexec /i plsqldev1703x64.msi /qn /norestart /l*v "%TEMP%\pl-sql-developer-install.log"Desinstalar
msiexec /x {0020D068-E011-4976-856C-1DF6AFCAF7D3} /qn /norestart- Código de produto MSI
- {0020D068-E011-4976-856C-1DF6AFCAF7D3}
- Chave de desinstalação no registro
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0020D068-E011-4976-856C-1DF6AFCAF7D3}
- UpgradeCode
- {32D1C907-182D-4D80-8F22-4F8D56E62078}
- Pasta de instalação
- %ProgramFiles(x86)%\PLSQL Developer 17\.
PowerShell: baixar, verificar, instalar
Baixa o arquivo oficial, confere o SHA256 e instala em modo silencioso.
install-pl-sql-developer.ps1
$url = 'https://www.allroundautomations.com/files/plsqldev1703x64.msi'
$sha256 = '708D9ABE3E890678898DF985743E8A406AFC7BBD4895F47598AB27A5271BB5AB'
$file = Join-Path $env:TEMP 'plsqldev1703x64.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