I am hoping someone can help me to get an inno script together that will install the MySQL odbc drivers with my app. I found the script below but it doesn't appear to be working. Does anyone know how this can be accomplished?
Code:; start odbc files Source: c:\windows\system32\myodbc3.dll; DestDir: {sys}; flags: onlyifdoesntexist Source: c:\windows\system32\myodbc3d.dll; DestDir: {sys}; flags: onlyifdoesntexist Source: c:\windows\system32\myodbc3.lib; DestDir: {sys}; flags: onlyifdoesntexist Source: c:\windows\system32\my3dsn.hlp; DestDir: {sys}; flags: onlyifdoesntexist ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Registry] Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: dword; ValueName: UsageCount; ValueData: $00000001 Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\ODBC Drivers; ValueType: string; ValueName: MySQL; ValueData: Installed Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: Driver; ValueData: {sys}\myodbc3.dll Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: Setup; ValueData: {sys}\myodbc3.dll Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: APILevel; ValueData: 2 Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: ConnectFunctions; ValueData: YYN Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: DriverODBCVer; ValueData: 02.50 Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: FileUsage; ValueData: 0 Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: FileExtns; ValueData: *.txt Root: HKLM; SubKey: Software\ODBC\ODBCINST.INI\MySQL; ValueType: string; ValueName: SQLLevel; ValueData: 1 Root: HKLM; SubKey: Software\ODBC\ODBC.INI\ODBC Data Sources; ValueType: string; ValueName: auctions; ValueData: MySQL Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Driver; ValueData: {sys}\myodbc3.dll Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Description; ValueData: Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Database; ValueData: auction Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Server; ValueData: localhost Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: User; ValueData: auction Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Password; ValueData: password Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Port; ValueData: Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Option; ValueData: 0 Root: HKLM; SubKey: Software\ODBC\ODBC.INI\auctions; ValueType: string; ValueName: Stmt; ValueData:





Reply With Quote