Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 999
  • Last Modified:

Add ODBC registry keys with Access Package

I'm distributing an Access application created the Access Developer Tools Package Wizard.  I need to somehow create ODBC DSNs.  What is the easiest way to accomplish this?  I have created a .REG file that can be run in silent mode, or the Package Wizard gives options to create Registry Keys, but I did not have success.  

Can you specify a shell command in autorun.inf to run regedit /s (silent)?  

2 Solutions
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
I would encourage you to look into alternative packaging/installation methods. There are plenty of free installers out there which do a MUCH better job than the packaging wizard. That said, the install file created by the wizard is a standard MSI file, and can be edited with any MSI editor (again, there are free ones out there).

Shanmuga SundaramCommented:
you can try creating a separate application and add it in your setup. Finally you can execute that executable file  when the application loads for first time and then after the process is over you can delete it. for further ideas please visit the below link on how to create odbc connection in vb


Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now