NsODBC plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (ODBC Configuration Manager moved to NsODBC plug-in) |
(added download link) |
||
Line 2: | Line 2: | ||
== Description == | == Description == | ||
nsODBC is NSIS ODBC Configuration Manager. Works over odbcinst32.dll. Based on SQLInstall Win API. | |||
== Download Link == | |||
<attach>NsODBC.zip</attach> | |||
== The Script == | == The Script == | ||
Line 25: | Line 27: | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
[[Category:Database Functions]] |
Revision as of 17:46, 30 June 2006
Author: sl (talk, contrib) |
Description
nsODBC is NSIS ODBC Configuration Manager. Works over odbcinst32.dll. Based on SQLInstall Win API.
Download Link
NsODBC.zip (7 KB)
The Script
; Create MS Access DSN & Data Base nsODBC::AddSysDSN "Microsoft Access Driver (*.mdb)" "DSN=SERVER_${PRJ_NAME}_DB" "DBQ=$INSTDIR\${PRJ_NAME}.mdb" ; Remove DSN nsODBC::RemoveSysDSN "Microsoft Access Driver (*.mdb)" "DSN=SERVER_${PRJ_NAME}_DB" ; Methods: ::AddDSN ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ... ::AddSysDSN) ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ... ::ConfDSN) ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ... ::ConfSysDSN ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ... ::RemoveDSN ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ... ::RemoveSysDSN ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ... ::RemoveDefDSN ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...