Add ODBC registry keys with Access Package

Posted on 2007-10-19
Last Modified: 2012-05-05
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)?  

Question by:gatorIT
    LVL 84

    Accepted Solution

    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).
    LVL 17

    Assisted Solution

    by:Shanmuga Sundaram
    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

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    The first two articles in this short series — Using a Criteria Form to Filter Records ( and Building a Custom Filter ( — discuss in some detail how a form can be…
    Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
    In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
    With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now