Skip to content

Installation in Delphi

Salvador Díaz Fau edited this page Jun 4, 2022 · 12 revisions

To build and install WebView4Delphi in Delphi you need to follow these steps :

  • Download the latest version of WebView4Delphi from GitHub.
  • Decompress WebView4Delphi into a directory and make sure your user has write privileges in that directory.
  • Run Delphi.
  • Open the file packages\WebView4Delphi_group.groupproj.
  • If you want to install the FMX and VCL components then select the Projects→Build all projects menu option. If this option fails build WebView4DelphiVCLRTL.bpl, WebView4DelphiFMXRTL.bpl, WebView4DelphiVCL_designtime.bpl and WebView4DelphiFMX_designtime.bpl individually (in that order). When the build process ends select the Install context menu option in WebView4DelphiVCL_designtime.bpl and WebView4DelphiFMX_designtime.bpl.
  • If you just want to install the VCL components then build WebView4DelphiVCLRTL.bpl and install WebView4DelphiVCL_designtime.bpl.

Follow these steps in case you have issues upgrading to a newer version of WebView4Delphi :

  • Download the latest WebView4Delphi version from Github.
  • Run Delphi / Rad Studio.
  • Uninstall the old WebView4Delphi package in the IDE.
  • Close Delphi / Rad Studio.
  • Delete the BPL and DCU files generated by WebView4Delphi. Those files are usually located in C:\Users\Public\Documents\Embarcadero\Studio<Delphi_version>\Bpl
  • Run Delphi / Rad Studio.
  • Install WebView4Delphi following the steps described at the beginning of this page.
Clone this wiki locally