Delphi component installation using .DCU file - delphi

I am delphi developer and want to install component for Delphi 7 on Windows XP and 2007. I have .DCU files only.
When I try to install .DCU from Component > insatll packege > Add> select .DCU file then it shows error like "Invalide Package file"
Please help.
Thanks in advance.

You are using the wrong mechanism to install the component. Instead of Install Packages you need to select Install Components. This will present a dialog which allows you to specify the unit file name that contains the component(s). You get the choice of installing the component into a new package, or an existing package.

Related

Delphi Jedi components manual installation

I'm using Delphi CE 10.4, and it has the DCC32.exe disabled line compilation.
I'm trying to manually install Jedi components, in the readme of JCL it says that it's needed to open and edit included file to customize options, in my case, source\include\jcld27win32.inc.
I'm starting to learn Delphi, and I didn't understand whats is it is necessary to do in this file, and didn't find videos showing a manual installation.
Someone who already installed this way could help me?
Manual Installation Although it is not recommended, a manual
installation is possible. You will have to manually configure options
for the library. That is done by modifying an included file. For each
tool you want to install the JCL in, repeat the following steps:
Open and edit included file to customize options: ... For Delphi 10.4 and C++Builder 10.4 Win32: source\include\jcld27win32.inc ...
In the IDE, open and compile package Jcl.dpk (or Jcl.bpk for C++Builder) located in a subdirectory of the "packages" directory
matching your version of the IDE. This package doesn't have to be
installed since it doesn't provide any components.
If you want to install experts, open package JclBaseExpert.dpk and compile it, then you can install all the experts you want (packages
are located in the same directory).

How to install Nuget package (.nupkg file) in Delphi IDE without using the GetIt Package Manager?

I am trying to use the TEdgeBrowser component in RAD Studio 10.2.
I want to apply that component by following the guide document below:
Using TEdgeBrowser Component and Changes to the TWebBrowser Component
The document uses the component after installing the package through Edge search in Getit Package Manager.
RAD Studio 10.2 GetIt was unable to find TEdgeBrowser:
I downloaded the package from the Nuget site, and try to install the package manually.
So I downloaded the nupkg file from the Nuget download link:
Microsoft.Web.WebView2 Download Link
In the document, the description of the component and package installation is completed by adding the downloaded DLL file to the executable file path.
How do I manually install packages and use components in the Delphi IDE using nupkg files?
I tried to install it using GetItCmd.exe, Nuget.exe, etc, but there aren't enough guides on how to do this, so I'm asking the question.
I downloaded Microsoft.Web.WebView2 0.9.488 package from the Nuget site, but it doesn't matter if I use the latest version.

How to install Indy on Delphi 10.3 Rio?

The help says "You can use GetIt Package Manager to discover and install additional third-party software onto RAD Studio." but Indy is not available in GetIt
I dowloaded newest files from Github. I run the Fullc_Rio.bat file then opened Indy260.groupproj but when compiling I got:
[Fatal Error] Cannot compile package 'IndySystem260' which is currently required by Delphi 10.3.
Indy comes pre-installed in every IDE version, and has been for a very long time.
However, if you want to install a newer version than what Embarcadero ships, you have to first remove the pre-installed version. This is mentioned in Indy's installation notes:
All package names are followed by X0 (where X0 is your Delphi/C++Builder/RAD Studio product version).
...
If Indy 10 is already installed, it needs to be uninstalled first:
Remove the pre-compiled design-time BPL files - dclIndyCoreX0.bpl and dclIndyProtocolsX0.bpl - from the IDE via the "Components > Install Packages" dialog.
Delete all of the existing binaries - IndySystemX0.*, (dcl)IndyCoreX0.*, and (dcl)IndyProtocolsX0.*
Delete any Indy 10 source files, if present.
Be sure to check for files in the IDE's \bin, \lib, and \source folders, \Indy subfolders, and OS system folders.
...
You can either:
Use the command-line FULLD#.BAT script that corresponds to your Delphi version.
Open the individual DPK files in the IDE and compile them, in the following order:
IndySystemX0.dpk (in Lib\System)
IndyCoreX0.dpk (in Lib\Core)
IndyProtocolsX0.dpk (in Lib\Protocols)
dclIndyCoreX0.dpk (in Lib\Core)
dclIndyProtocolsX0.dpk (in Lib\Protocols)
...
Refer to the installation notes for full instructions.
Indy is already installed in Rio during the product installation. It's used in parts of the RTL. It's already installed in all versions of Delphi.
If you open a new VCL or FMX application, click on a form to activate the designer, and go to the component palette, and enter TId in the search box, you can find the Indy related component pages in the palette.

Orpheus won't install in Delphi XE8

I'm trying to install the Orpheus library in Delphi XE8. I added the source path to the library path, and successfully compiled the run-time package (OrpheusDR.dpk). But when I try to install the design-time package (OrpheusDD.dpk) Delphi hangs immediately.
Is there a workaround (like patching certain files) to get the package installed after all?
PS: SysTools (another TurboPack package) installed without problems

Installing JVCL into Delphi 10 Seattle

When trying to install JCL and JVCL into Delphi 10 Seattle using the GetIt Package Manager I get an error:
"Windows 7 Professional Service Pack 1 (6.1.7601)
JVCL 3.50.0.0
[Generating: Packages]
Generating packages for D15
Loaded template.dpk
Loaded template.dproj
Loaded template.rc
[Compiling: Packages]
[Compiling: JvCore150.bpl]
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
C:\Users\Lars\Documents\Embarcadero\Studio\17.0\CatalogRepository\JEDIVisualComponentLibraryJVCL-3.49\Common\jvcl.inc(26) Fatal: F1026 File not found: 'jedi\jedi.inc'
"
JCL version is 2.8.0 that is available via GetIt Package Manager
This question has some resemblance with Error in JCL installation
Uncheck other versions of delphi - The JCL installer defaults to installing into EVERY version of Delphi, not just Delphi 10 Seattle. You have to page by page and uncheck the main root tree item option on each page.
Make sure you don't have any other Jedi stuff linked implicitly into other packages you have installed.
Make sure none of the folders in your Library Path contains another copy (probably older and out of date) of jvcl.inc or jedi.inc files, or any other Jedi JCL or JVCL source or dcu files.
Clean up and remove old/stale DCP/DCU files.
If you want to attempt a manual repair of the package settings, open the package source JvCore.dpk from the packages folder beneath C:\Users\Lars\Documents\Embarcadero\Studio\17.0\CatalogRepository\JEDIVisualComponentLibraryJVCL-3.49\ and try to manually add to the search path the Common and Include folders that contain these two files.
After manual repairs, try manually restarting the installer main executable, probably named Install.bat
If none of those work, then I suspect that the problem is that the Repository folder is a pretty long path name, and the resulting library path name may be too long for something inside the JCL installer or the DCC32 command line compiler. In such a case, I would recommend removing anything you can from your library path before you start, install JCL+JVCL and then restore your library path to its former really-long value.
git clone git://github.com/project-jedi/jvcl.git jvcl
```
This will get you the JVCL repository. You also need the JCL https://github.com/project-jedi/jcl
How to install
Install the JCL https://github.com/project-jedi/jcl
Start the jvcl\install.bat
JCL:
git clone git://github.com/project-jedi/jcl.git jcl
cd jcl
git submodule update --init
```
This will get you the JCL repository and initializes the submodule that contains the jedi.inc and kylix.inc files.
How to install
Start the jcl\install.bat
I succeded to install JCL and JVCL by download a ziped version (JVCL349CompleteJCL27-Build5676.zip) containing both JCL and JCVL from http://jvcl.delphi-jedi.org/
The problem I had seams to relate to multible installations of Delphi and several versions of JCL in the path. If I just installed for DX, it worked fine :)
Use the GetIt Package Manager integrated in your RadStudio IDE to download JCL and JVCL, check this other question.
Finally a headeachless way to install JVCL!
Get JCL and JVCL from the source. Uncheck all no installed compilers.
This works for Embardadero 10.1 Berlin! (24)
(you could download the zip from this place)
https://github.com/project-jedi/jcl
https://github.com/project-jedi/jvcl

Resources