Manual install of JCL/JVCL in Delphi 10.1 Berlin - delphi

I haven't upgraded Delphi since 2007. I have an evaluation copy of 10.1 Berlin installed, good for another 15 days. I want to see how difficult it will be to update a project I have to 10.1 before buying.
I've heard that in 10.0 Seattle, you could install the JCL/JVCL via GetIt. Doesn't seem to be available yet for 10.1. Its not even available as an official release of JCL/JVCL for 10.1. But, it does seem that the current daily builds do support 10.1. Problem is, I only have the evaluation copy which doesn't allow command line compiling. I thought I should be able to do a manual install though.
I seemed to have manually installed a recent daily build of JCL. However, when I try to do a manual build of JVCL, it get an error "required package 'jcl' not found". But, the JCL240.BPL is built and installed and in the folder that it is supposed to be in. Specifically, I was trying to build JvCore240.bpl when I get that error.
What might be wrong? Will I just have to wait until it is available on GetIt? And if so, any guesses when that might be?

Related

RAD Studio 10.2.3 Jedi JVCL Install Problem

I've uninstalled my RAD Studio 10.2.2 and installed 10.2.3 in my Win10 development VM. Along the way I uninstalled all the previous 3rd-party libs, including the Jedi GetIt packages, and per the instructions got rid of all the old Jedi source and DCP/DCLs. I'm attempting to install them back into 10.2.3 via GetIt. The JCL libs install fine, but when I try to install JVCL, the installation batch file hangs after compiling the installer and the VM comes to its knees. I rebooted, started taskmgr and watched as the batch file ran - it appears to go into a loop creating many instances of msgfmt. I've tried removing it all again, downloading and installing the 3.8 version myself and running the install batch file by itself, same problem; then backing up to the 3.6 version that had installed OK in 10.2.2, and it does the same thing. If I edit the batch file to skip the language-setup section, the batch file completes OK, but trying to re-run the GetIt update causes it to re-download and replace that batch file. :(
The installer does compile before the languages part of the batch file is reached, so I tried running the installer directly. I assume I'm not passing it cmd line info it needs, because it compiles the 64-bit libs fine but chokes immediately on compiling the 32-bit version of JvCore250.bpl with an unspecified compile error.
Anyone else run into this? Is a solution known?
Turns out to ultimately be a pathing problem. When multiple installations of the IDE exist on a machine (e.g. my VM has or previously had D2007, XE2 and 10.1 on it), the PATH environment variable can be too long - edit the PATH in the system to remove the old/stale paths. Then make sure that the library paths in the IDE includes $(BDSLIB)\$(PLATFORM)\release or you'll get "can't find RTL" when building the packages.
For me the problem is generated from the msgfmt.exe of dxgettext.
msgfmt.exe generates multilanguage messages, for a multilanguage support of jvcl installation.
For the specific problem of msgfmt.exe try to see this: dxgettext and Windows 10
I resolved the problem opened the install.bat file in jvcl folder, and I commented (with ::) every line where the msgfmt is executed.
Attention:
If you use getit I suppose you have to open the folder where jvcl is downloaded and search install.bat (I didn't use getit)
Instead I downloaded jvcl directly from github in my component folder, and I did what is written above in that folder.

Delphi XE2 can not load CnPack

I have a fresh win 10 installation with Delphi XE2.
I tried to install CnPack but there was no chance (It says couldn't find wizard):
Also registry is OK and the file is in there and the permissions are OK.
Its version is CnWizards_1.1.3.896 which is currently the latest version.
I have tried older versions as well but there was no chance.
Any idea ?
I had the same problem and I got it to resolve to do this.
I downloaded the Source file and the Installer file.
I used this version 1.1.3.896.
First I open the source in Delphi and Compile, Build and Install the following components.
CnPack_DXE2.dpk. (Compile and Build)
CnWizards_DXE2.dpr (Compile and Build)
dclCnPack_DXE2.dpk (Compile, Build and Install)
Execute the Installer file.
Now, this is the secret for me.
Replaced the files (CnWizards_DXE2.dll).
In the Third Step, it creates CnWizards_DXE2.dll (CnWizards\bin). Copy this file and paste in the local installation ([program files\CnPack\CnWizards]).
I created the mini tutorial in Portuguese for this situation, if necessary I can send it for you.
Sorry, my English is not good.
Bye for now

Installing TestInsight into Delphi 10 Seattle

I am using Delphi 10 Seattle Pro and am unable to successfully install TestInsight into the IDE. I have previously installed it into XE5 Pro without a hitch.
I downloaded the most recent builds, which are version 1.0 and version 1.1 which is designated specifically for XE8. Neither works for D10. First, I had to create a package using the units to install it, as the installer did not find D10. When I tried to compile the package, I received the following error:
[dcc32 Error] TestInsight.DUnitX.pas(20): E2291 Missing implementation
of interface method ITestLogger.OnTestingStarts
I have made sure to include the location of the TestInsight installation folder in my library search path, but for some reason, there is no TestInsight.dll in the directory. The installation program apparently did not create one.
Is there a fix for this?
Thanks in advance.
TestInsight is not released for Seattle yet - and that API breaking change was one of the reasons.
We figured that out now so there is no difference anymore between the DUnitX version available on GitHub and the one shipped with Seattle so I will release it soon(tm).

Delphi 6 update 2 error

I just bought a new laptop (a 64 bits one running Win8.1) and I thought it would be best if I use a virtual machine for my main programming environment.
I managed to install Delphi 6 Enterprise Edition but I am no longer able to install Update #2. I am getting this strange error stating that I need to install Update #2 before updating the file:
I only need to run the runtime library. The general update works, but I can't use my files (especially Indy) because they were compiled with a different file version.
I tried all workarounds. If I click No, the update technically happens, but I still get the message. I tried to manipulate the registries, but this still doesn't work. As I mentioned, the general update will not let me compile my project.
Has anyone ever encountered such an error?
Note from download side :
You must install General Update 2 below in order to run the Delphi 6 Runtime Library Update 2.
you should install
1.) D6_upd2_ent.exe (Basic Update before install del6_ent_rtl2) !
2.) del6_ent_rtl2.exe
I don't know where you are getting D6_RTL2_ENT.exe from ?
Delphi 6 Update 2
Readme Delphi 6 Update 2
Third-party and add-on package issues
Some third-party and add-on packages may generate errors after installing Delphi 6 Update Pack 2.
If you encounter any such errors, uninstall the third-party package in Delphi6 (Component| Install Packages, select the package, click remove, and rebuild), and contact the third-party package provider for an updated package.
Related note: The functionality previously available in InvWiz60.bpl, a free
add-on package installed by many Delphi 6 users, is installed with this update. If you previously installed InvWiz60, you should uninstall it to avoid conflicts with
the new built-in functionality.
Update :
OP
I am getting this strange error stating that I need to install Update #2 before updating the file:
The error message is normal if you try to install update rtl 2 without the necessary General update 2 to install.
You ask us about a strange error and ignore the installations instructions
You must install General Update 2 below in order to run the Delphi 6 Runtime Library Update 2.

How to fix a corrupt Delphi 2009 Install

I installed both the Delphi 2009 trial and actual release via the web installer when I received them and experienced the same errors when installing both.
Both times it appears that the core web installer failed when it went to spawn the additional install packages for boost, documentation and dbtools. (It brought up a findfile dialog asking for a setup.msi that didn't exist on my machine). When cancelling out of this, the installer reported a fatal error.
The uninstaller did not appear in my program list, and would did not launch from the installation folder.
Future attempts to bring up the installer had it in a state where it thought Delphi 2009 was already installed and it wouldn't correct or repair or uninstall it.
Step 1
Clean out the registry of all things Delphi 2009.
You're looking for HKLM\Software\Codegear\BDS\6.0 and everything under it. Purge the HKCU equivalent while you're at it.
Search under HKEY.CLASSES.ROOT for anything that contains "CodeGear\RAD Studio\6.0" - assuming you installed into the default folder. Purge all those items from the CLSID level.
Step 2
Clean up Windows Installer using the Microsoft Windows Installer Cleanup utility.
Step 3
I suggest a reboot at this stage.
Step 4
Try to install again.
Good Luck!
The problems seem to originate with the web installer not having all the files needed.
Download the 2009 ISO: http://cc.codegear.com/item/26049
Mounted it using this free tool from Microsoft: http://download.microsoft.com/download/7/b/6/7b6abd84-7841-4978-96f5-bd58df02efa2/winxpvirtualcdcontrolpanel_21.exe (You can burn it to a DVD too)
Then reran the installer. At this point, both the repair and uninstall worked.

Resources