I have been trying to access the MS Access database file residing on my machine and it works just fine when I have office installed.
When I try to use the same code on a machine that does not have office installed/driver installed it throws up an error "Microsoft.ACE.OLEDB.12.0 provider is not registered"
I followed up on this post Microsoft.ACE.OLEDB.12.0 provider is not registered but the solution here is to install the redistributable physically.while I would like to do it programmatically using C#.
Would that be possible only by installation physically, is this the only way out?