When packaging the MS Access driver with a .NET application installer, you can specify it as a prerequisite.
For Visual Studio 2017:
- Clone this repo
- Download AccessDatabaseEngine.exe and AccessDatabaseEngine_X64.exe
- Installer project properties dialog > Configuration Properties > Build > Prerequisites > Microsoft Access Database Engine 2010 (x86, x64)
The required folder structure is:
%ProgramFiles(x86)%\Microsoft SDKs\ClickOnce Bootstrapper\Packages\MSAccessDBEng2010*
|-- en
| |-- license.txt
| |-- package.xml
|-- AccessDatabaseEngine.exe
|-- AccessDatabaseEngine_X64.exe
|-- product.xml
* This path varies depending on VS version and didn't match the registry entry.