Archive: Checking for Ajax


Checking for Ajax
Im making an installer for an application that requires ASP.Net AJAX 1.0 and MySQL .Net data driver. Is there a way to check if these are installed when running an NSIS installer?


No ideas? I know we can check for a registry key, but which one should we check for?


Why don't you ask the people that made the software you're checking for what and where the reg keys are for their software. (Or even just poke about in the registry for them yourself)
Checking for a key that points to the software's uninstaller would probably be best, since it's very likely the app is still installed then. (like HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\$APP "UninstallString")


On a related note, there is a freeware gem called Installation Analyzer that can take a before and after snapshot of the system to list all file and registry changes that happened during an installation. It's quite useful in determining what changed during an install and might give you a list of things to check to determine whether those 3rd part apps were actually installed.

However, to be 100% certain you are checking the right thing, it's probably best to go to the source as suggested by QOAL.