
Detect if OpenAL is installed
Posted Saturday, 1 September, 2012 - 19:39 by james_lohr inHello,
Is it possible to detect whether OpenAL is installed?
I would like to run oalinst.exe when my application starts up, but only if it has not already been installed. Annoyingly it will pop up with a "Do you want to allow this application to make changes to your computer" dialogue, so I only want this to happen once when the application is first run.
I have to say that it is an immense frustration that OpenAL doesn't just come as a few dlls I can include in the application directory.


Comments
Re: Detect if OpenAL is installed
On second thought, I guess that also means I then need to make my application restart itself. What a hack. :(
I HATE installers, but it looks like I'll just have to give in and use NSIS.
Re: Detect if OpenAL is installed
You can distribute with this dll OpenAL Soft.
It may be possible to rip the openal32.dll and wrap_oal.dll from the creative labs install, but you should check their license before shipping that.
Re: Detect if OpenAL is installed
In the end I went with creating an NSIS installer, and installing OpenAL silently from oalinst.exe during the installation. It turned out to be surprisingly clean.