NSIS ODBC Driver 新建(Regedit)
NSIS ODBC Driver 新建(Regedit)
資料來源: https://nsis-dev.github.io/NSIS-Forums/html/t-230244.html
ExecWait "regedit.exe your.reg"
your.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\ODBC] [HKEY_CURRENT_USER\Software\ODBC\ODBC.INI] [HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC Data Sources] "V8"="MySQL ODBC 5.1 Driver" [HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\V8] "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.1\\myodbc5.dll" "SERVER"="127.0.0.1" "UID"="root" "PWD"="usbw" "DATABASE"="v8_workstation" "PORT"="3307"