I need my application's install to distribute a data source (.dsn) file.
For the data source to work, I need to make entries into the ODBC.ini file
and the registry.
If there is an easy way to do this, please let me know.
In the mean time, I am writing my own routines into VB's setup1.vbp code.

[Immediate Problem]
I need to make an entry into the [ODBC 32 bit Data Sources] section of the
ODBC.ini file.
The are more entries that follow this section, so I can't just append my
entry to the file, as they will not be in the correct section.
Is there a routine which will make entries into an ini file by specifying
the file, section, and entry?
The only way I see to do it, is to read each line of the file into a new
temp file,
until I get to the end of the section I want to make an entry into.
I can then insert my entry, write the rest of the file into the temp file,

and then delete the original file and rename my temp file.
This seems like a lot of work for such a simple goal.
If anyone knows of an alternative, I would greatly appreciate it.