Possible Duplicate:
How to detect SQL Server Express in WiX installer
I am planning to install SQL Server in silent mode via installer of my application.
What is the best way to detect that SQL Server Express 2008 is installed on machine?
Some of my assumptions:
- Searching an entry in registry. But which KEY to check..? And this entry must be erased on uninstalling Server.
- Try to connect to Server and analyse the result.
- Custom action that will detect an active SQL Server service..