public override void Install(System.Collections.IDictionary stateSaver) { base.Install(stateSaver); string path = this.Context.Parameters["targetdir"]; long retVal = 0; bool result = false; IntPtr hwnd = new IntPtr(1); // install the driver using "gemfirexdodbc" as driver name result = ConfigDriver(hwnd, ODBC_INSTALL_DRIVER, DriverInfo.Name, path, "", 0, ref retVal); if (!result) { //MessageBox.Show("Driver installation failed"); Rollback(stateSaver); } // These are default values associated with this driver result = ConfigDriver(hwnd, ODBC_CONFIG_DRIVER, DriverInfo.Name, DriverInfo.GetDefaultDriverInfo(), "", 0, ref retVal); if (!result) { //MessageBox.Show("Driver configuration failed"); Rollback(stateSaver); } }