locked
how to combine MDAC to my installation ? RRS feed

  • Question

  • hi how to combine MDAC to my installation ? my C# program use access and i need to combine MDAC 2.0 to my installation how to do this ? thank's in advance
    Thursday, September 30, 2010 4:23 PM

Answers

  • You can add a launch condition in your setup project which will check for MDAC and ask it to be installed if it not present.You can set relative path of application location in InstallUrl property to install MDAC if it is not present.

    http://msdn.microsoft.com/en-us/library/1f5cas7b(VS.80).aspx

    Another way is to have MDAC as a Prerequisite and set install location properties as "Download prerequisites from the same location as my application". But I think MDAC is not available by default in the list of prerequisite but I think there would be some way through which you can add it.

    http://msdn.microsoft.com/en-us/library/7eh4aaa5(v=vs.80).aspx


    Gaurav Khanna
    • Proposed as answer by Helen Zhou Wednesday, October 6, 2010 6:55 AM
    • Marked as answer by Helen Zhou Thursday, October 7, 2010 2:52 AM
    Thursday, September 30, 2010 6:34 PM