I had develop a Setup project for my program.
How can I make my Setup project to detect the presence of Microsoft Data Access Component (MDAC)?
Please guide me thank you.
Printable View
I had develop a Setup project for my program.
How can I make my Setup project to detect the presence of Microsoft Data Access Component (MDAC)?
Please guide me thank you.
In your setup you have to add a launch condition. Under search machine add an item where your RegKey is "Software\Microsoft\DataAccess". Then add the launch condition with the condition of "MDACSEARCH>="2.7"" for a check to make sure MDAC is = or greater than 2.7 (or whatever version you want).
This searches the registry in the location above to determine the MDAC version installed, and the installation of your app will terminate if the condition is not met.