Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a data source dynamically
Message
Information générale
Forum:
Visual C++
Catégorie:
Autre
Divers
Thread ID:
00119565
Message ID:
00121060
Vues:
16
Can I import a .REG file that just contains the new information or do I have to export the entire .REG file, then make my additions, then import the entire .REG file? Or is Windows95 smart enough to know that I am just adding the information from my own .REG file?

Example:

This is my own .REG file ready to merge back into the regular .REG file:

REGEDIT4

[HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\aw35]
"Driver"="C:\\WINDOWS\\SYSTEM\\vfpodbc.dll"
"SourceDB"="c:\\aw20\\aw20.dbc"
"Description"="ESDK autotest DB"
"SourceType"="DBC"
"BackgroundFetch"="Yes"
"Exclusive"="No"
"Collate"="MACHINE"
"SetNoCountOn"="No"

Thanks for the help.

Don


>Any configuration would end up updating the system registry. If it is the registry, you can export the entries to a .REG file and import it as a part of Setup. You import a .REG file by just opening it (like an EXE file). You can have Windows do this once on start up and force users to restart the machine.
>Another way is to make the appropriate system registry entries using Setup. InstallShield supports both approaches. If you are using Setup Wizard then you take the .REG file approach but the users will have to explicitly open the file (or you can tinker the Setup kit source to do it.)
>
>HTH,
>SUN.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform