OpenAL

From LANCommander
Revision as of 21:15, 5 November 2023 by DoctorDalek (talk | contribs) (Created page with "Category:Redistributables {{Redistributable.Scripts.DetectInstall |Name = Install Detection |Description = This script will look at the installed package list from Windows for anything matching OpenAL. |RequiresAdmin = False |Contents = <syntaxhighlight lang="powershell" line> $Installed = Get-Package "NVIDIA PhysX System Software*" if ($Installed.Length -ge 0) { exit 1; } else { exit 0; } </syntaxhighlight> }} {{Redistributable.Scripts.Install |Name = Insta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install Detection

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

$Installed = Get-Package "NVIDIA PhysX System Software*"

if ($Installed.Length -ge 0) {
    exit 1;
} else {
    exit 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!"