OpenAL

From LANCommander
Revision as of 18:13, 19 December 2023 by DoctorDalek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Downloads

Version Release Date File
2.0.7.0 Download

Install Detection

This script will look at the installed package list from Windows for anything matching OpenAL.

$Installed = Get-Package | Where-Object -Property Name -like "OpenAL*"

if ($Installed.Length -ge 0) {
    $Host.SetShouldExit(1)
} else {
    $Host.SetShouldExit(0)
}

Install Script

Installs the OpenAL redistributable silently.

Write-Host "Installing OpenAL (2.0.7.0) Redistributable..."
Start-Process -FilePath "oalinst.exe" -ArgumentList "/S" -Wait -Passthru
Write-Host "Done!"