olidev
olidev

Reputation: 20654

how to attach a setup file to a setup project for a C# application in visual studio

I am developing an application in which it deals with reading data from excel files (xls and xlsx).

Therefore, it requires that Microsoft Access Database Engine 2010 has to be installed on the clients' PC. http://www.microsoft.com/download/en/details.aspx?id=13255

I dont know whether when I create a setup project for the C# application, the setup process will check whether the client has install that Engine above or not. If not then it will install it before setting up the applicaiton.

My question is that: how to to it with creating a setup project for a C# application in visual studio 2010?

Thanks in advance.

Upvotes: 1

Views: 775

Answers (1)

Glory Raj
Glory Raj

Reputation: 17701

would you try like this you can add your microsoft access databse engine

Like the file attribute in the appSettings Element or the SectionInformation.ConfigSource Property?

<configuration>
    <appSettings file="machine-specific.config">
        <add key="Application Name" value="MyApplication" />
    </appSettings>
</configuration>

Upvotes: 1

Related Questions