| |

VerySource

 Forgot password?
 Register
Search
View: 2528|Reply: 12

Installshield on the issue of ODBC packaging, urgent use! !! !! !! !! !! !! !!

[Copy link]

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-2-5 23:00:01
| Show all posts |Read mode
I use a set of small software developed by DELPHI, using ODBC as the database interface, but after making the installation disk and packaging, I need to manually set up ODBC on another machine to install, this is not good, I have found a lot of information, but to no avail. Any friend can help me tell me how to configure ODBC when packaging. Thank you very much.
I use SQL SERVER and installshield.
This is where installshield adds the user data source name, the server IP, the connected server database name Weal, the server database login name sa, and the password password.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-30 12:15:01
| Show all posts
I also want to know this question.
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-31 16:45:01
| Show all posts
Make another configuration file and read from the configuration file
User data source name, server IP, connected server database name Weal, server database login name sa, password password.
Easy to change later.
Reply

Use magic Report

0

Threads

14

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-4-6 21:45:01
| Show all posts
The odbc information is written in the registry, the location is at
RootKey = HKEY_LOCAL_MACHINE;
Software\\ODBC\\ODBC.INI
You can all add a few odbc connections, look at the registry to understand
Reply

Use magic Report

0

Threads

9

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-5-3 21:00:02
| Show all posts
1. It is best to package MDAC directly when packaging, even without packaging, the operating system has been integrated
2. The ODBC alias can be established directly through the InstallShield registry, no special setting is required in InstallShield
The registry is set up in the Resources / Regristry Sets part of InstallShield, the specific establishment is
HKEY_CURRENT_USER\Software\ODBC\ODBC.INI
or
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
The specific choice depends on whether you are creating a user DSN or a system DSN. The specific content varies according to the database. You can copy it directly from your registry
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-5-6 13:45:01
| Show all posts
WayWon:
If I create a user DSN.
After this HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI, where to write the data source name, server IP, connected server database name Weal, server database login name sa, password password these messages.
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-5-6 17:15:01
| Show all posts
Can you give a detailed example?
Reply

Use magic Report

0

Threads

9

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-5-6 23:30:01
| Show all posts
User DSN is here
HKEY_CURRENT_USER\Software\ODBC\ODBC.INI
User DSN is a directory in the registry, just copy this directory to InstallShield, the location of the copy is InstallShield Resources / Regristry Sets

Is this a detailed example?
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-5-7 12:15:01
| Show all posts
[Registry]
Root: HKCU; SubKey: Software\ODBC\ODBC.INI\ODBC Data Sources; ValueType: string; ValueName: debug; ValueData: SQL Server; Flags: createvalueifdoesntexist uninsdeletevalue
Root: HKCU; SubKey: Software\ODBC\ODBC.INI\debug; Flags: createvalueifdoesntexist uninsdeletevalue; ValueName: Driver; ValueType: string; ValueData: c:\WINDOWS\system32\SQLSRV32.dll
Root: HKCU; SubKey: Software\ODBC\ODBC.INI\debug; Flags: createvalueifdoesntexist uninsdeletevalue; ValueName: Description; ValueType: string; ValueData: debug
Root: HKCU; SubKey: Software\ODBC\ODBC.INI\debug; Flags: createvalueifdoesntexist uninsdeletevalue; ValueName: Server; ValueType: string; ValueData: 192.168.250.200
Root: HKCU; SubKey: Software\ODBC\ODBC.INI\debug; Flags: createvalueifdoesntexist uninsdeletevalue; ValueName: LastUser; ValueType: string; ValueData: amu
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-5-8 16:45:01
| Show all posts
Where to write the data source name, the server's IP, the connected server database name Weal, the server database login name sa, password password. these messages.
I just don't understand.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list