Creating ODBC in MSI
I need to distribute an ODBC that has username and password authentication. Anybody shed any light or wisdom on the best and easiest way to do this. I am trying to use WinInstall LE, if there is a better way any advice would be appreciated.
Thanks
Thanks
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
vibhor
9 years ago
Capture all the registries changes made by the Source application. On a clean workstation create the odbc connection manually and than import the ODBC "HKLM\Software\Microsoft\ODBC" registry hive. Password never reflect in registries hive however it store there. There is small chance of some files getting captured, you should include any file if newly created or changed.
Comments:
-
This thread is nearly 4 years old - please don't resurect old threads. - dunnpy 9 years ago
Posted by:
cygan
14 years ago
Posted by:
Stanimosity
14 years ago
Posted by:
AngelD
14 years ago
Posted by:
Harsha Gurugunti
14 years ago
Stanimosity
One of the easy methods to know where password get saved is, run (taking first snap shot of machine) a "picture taker" or "InstallRite" before entering the connection password and re-run (second snap shot) the same tool after entering password. It will give you the correct result. Import/add them in the your MSI.
Hope this helps you.
Cheers,
One of the easy methods to know where password get saved is, run (taking first snap shot of machine) a "picture taker" or "InstallRite" before entering the connection password and re-run (second snap shot) the same tool after entering password. It will give you the correct result. Import/add them in the your MSI.
Hope this helps you.
Cheers,
Posted by:
dunnpy
14 years ago
You could try this:
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\<MyConnectionName>]
"Driver"="C:\\WINDOWS\\system32\\SQLSRV32.dll"
"Description"="MyConnection"
"Server"="<Server IP/Name>"
"Database"="<Default Database Name>"
"LastUser"="<userid you want>"
"UserName"="<userid you want>"
"Password"="<password you want>"
The username and password keys are not created by default - I've got someone doing some UAT/OAT on a package at the moment with the DSN settings populated as above.
Works fine in my Dev Lab - waiting to see how the user experience is.
Hope this helps,
Dunnpy
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\<MyConnectionName>]
"Driver"="C:\\WINDOWS\\system32\\SQLSRV32.dll"
"Description"="MyConnection"
"Server"="<Server IP/Name>"
"Database"="<Default Database Name>"
"LastUser"="<userid you want>"
"UserName"="<userid you want>"
"Password"="<password you want>"
The username and password keys are not created by default - I've got someone doing some UAT/OAT on a package at the moment with the DSN settings populated as above.
Works fine in my Dev Lab - waiting to see how the user experience is.
Hope this helps,
Dunnpy
Posted by:
DazFrost
12 years ago
Posted by:
dunnpy
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.