Search code examples
.netdeploymentwindows-installersetup-deployment

Application Deployment [.NET 2.0 + Access 2007 Runtime]


I have created an app that needs proper deployment now.

The application is written in C#/.NET.

The application uses old database (access 2007 runtime) and is built on .NET 2.0 framework.

How can I properly deploy the application with a single installer, assuming that system doesn't have .NET 2.0 and access 2007 runtime?


Solution

  • I'm doing this as follow:

    1. Create MSI or EXE installer for your application. You can use WIX.
    2. Create bootsrapter that checks if .NET Framework is installed. If not: install it and run main instalation packege (created in point 1). You can use DotnetInstaller.
    3. You should also add Access 2007 Runtime to your bootsratper that will be installed when MS Office is not present on Client machine.

    DotnetInstaller gives you ability to create one-file installation.