ODBC Manager: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library)
 
m (Updated author and download links, and changed format of some pages.)
Line 17: Line 17:
</highlight-nsis>
</highlight-nsis>


Page author: sl
Page author: [[User:sl|sl]]

Revision as of 12:37, 23 April 2005

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] ...

Page author: sl