We use SQL Server Express 2008 R2 with our product. If not on customer PCs available we install it as a prequisite with our MSI setup. Sometimes the Installation of SQL Server fails. When we search for the reason for failing we often see that on that PCs Windows updates where executed months/years ago. After installing all updates we also succeed to install SQL Server.
How could we avoid this in the future? Or is there a way to find out if all "prerequisite" Windows updates are installed?