Deploying on Windows (FireDAC)

From RAD Studio
Jump to: navigation, search

Go Up to Deploying (FireDAC)

To deploy a FireDAC application on a Win32 or Win64 machine, the following items should be considered:

  • When an application uses persistent connection definitions, a connection definition file must be deployed. You may put it along with the application executable or set TFDCustomManager.ConnectionDefFileName to a file name.
  • When an application uses driver definitions, a driver configuration file must be deployed. You may put it along with the application executable or set TFDCustomManager.DriverDefFileName to a file name.
  • The DBMS clients required for application connectivity must be obtained from the vendors and installed on the deployment machine. When an application is built as x86, the x86 DBMS client software must be installed. The same applies for x64 applications. SQLite engine is statically linked into EXE and does not require a deployment.
  • FireDAC Administrator (analogue to BDE Administrator)may be deployed to give the end-user a tool to manage FireDAC connection definitions. To deploy FireDAC Administrator one should deploy:
    • C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\FDAdministrator.exe
    • C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\FDExplorer.ini
  • When a FireDAC application was built with the run-time packages, the following BPL files should be deployed. The BPLs are located in C:\Program Files (x86)\Embarcadero\Studio\20.0\Redist\<platform>.
    • Mandatory packages:
      • FireDAC260.bpl
      • FireDACCommon260.bpl
      • FireDACCommonDriver260.bpl
    • Optional packages, required when your application uses specific FireDAC drivers:
      • FireDACADSDriver260.bpl
      • FireDACASADriver260.bpl
      • FireDACDataSnapDriver260.bpl
      • FireDACDb2Driver260.bpl
      • FireDACIBDriver260.bpl
      • FireDACInfxDriver260.bpl
      • FireDACMSAccDriver260.bpl
      • FireDACMSSQLDriver260.bpl
      • FireDACMySQLDriver260.bpl
      • FireDACODBCDriver260.bpl
      • FireDACOracleDriver260.bpl
      • FireDACPgDriver260.bpl
      • FireDACSQLiteDriver260.bpl
      • FireDACTDataDriver260.bpl
      • FireDACTDBXDriver260.bpl
    • Optional packages, required depending on whether your application is a FireMonkey or a VCL one:
      • vclFireDAC260.bpl
      • fmxFireDAC260.bpl

See Also