Install Delphi 5 for Windows 10 - delphi

I tried to install Delphi 5 on Windows 10, but hangs when configuring the BDE.
I've tried in a different directory with administrator permissions.
I've tried for compatibility mode as well.
If someone knows , I am very grateful!
This image is the error

This is the procedure I use to install Delphi 5 Pro on Windows 10:
Log in as Administrator
Turn UAC off
Log in as Standard User
Install Delphi 5 Pro via installer
The installation hangs while trying to install the BDE.
Use Task Manager to kill the install process.
Delete C:\Program Files (x86)\Borland\Delphi 5\Uninst.isu
Install Delphi 5 Pro via installer
Select registry settings only.
Install d5proupgrade.exe (Bug fix Upgrade for Delphi 5 Pro)
Open a command prompt as Administrator:
> cd C:\Program Files (x86)\Common Files\Borland Shared\Debugger
> tregsvr bordbk50.dll
> cd C:\see\below\regarding\winhlp32-windows-7-x86-x86-komeil
> Install.cmd
Edit permission on C:\Program Files (x86)\Borland\Delphi5\Bin\delphi32.dro adding Everyone with Full Control
Start Delphi 5
When prompted, don't change JIT debugger and check don't ask again.
Close Delphi 5
Turn UAC on.
I don't use the BDE and have never tested to see if it works or not after this procedure.
See http://www.komeil.com/blog/windows-help-program-winhelp-winhlp32-exe to find out how to get Delphi 5 Help working in Windows 10 and to obtain winhlp32-windows-7-x86-x64-komeil.cab. You'll have to download and extract the cab file then edit the Install.cmd, adding the last two line in the Settings so it reads:
:: ---------------------------------------------------------------------------
:: Settings
set MuiFileName=winhlp32.exe.mui
set ExeFileName=winhlp32.exe
set WindowsVersion=7
goto :BypassVersionError

I experienced the same problem but I found a workaround.
Install BDE from a separate source (for example you can download it from the EDN)
Start installing Delphi 5
When it stuck on the Configuring BDE screen open Task manager and close the installer with the End task.
Start the installer again but choose the latest option to setting Registry only.
Enjoy (?)

Related

Delphi 10.4.2 and Delphi 11.0 cannot debug -

I cannot run Delphi in Debug. was previously running in Delphi 10.4.1
Now running both Delphi 10.4.2 in Windows 64-bit FMX and it gave the dreaded error "Unable to create process, 'c:\Win64\Debug\project1.exe'.
I googled. Some mentioned that it can be firewall setting (see below, which was automatically created). Some mentioned that it has to do with bds.exe permissions. One person ever mentioned to try running in Administrator mode. I tried all but it doesn't work.
Any ideas?
I just checked the Windows Firewall. Bring up the Control Panel, click System and Security, Windows Defender Firewall, Allow app through Windows Firewall.
Click [Change Settings] button.
The Embarcadero Debugger Kernel is originally installed as:
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dbkw64_28_0.exe
Remove it, and add in
C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dbkw64_28_0.exe
Restart Delphi. Bingo! It now works

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.

Same or higher version of .NET Framework 4 has already been installed on this computer

I want to install Microsoft Windows SDK for Windows 7 .. so i should install .NET Framework 4 But there is an error i can't solve it ..
i tried to uninstall installed .NET frame work from "Program and Features"
But I don't know which one to be uninstall .. and i'm afraid if another program use it
First we need to find the installed package. For that enable Windows Installer logging.
1) In run open gpedit.msc or you can google how to open group policy editor
2) Expand in left panel Computer Configuration -->Administrative Templates --> Windows Components --> Windows Installer
3) On right panel open Logging and Enable it and in option Logging voicewarmupx
4) Restart your PC
Now Windows Installer logging is enabled. Next we need to find and uninstall the conflicting package.
1) Open windows %temp% (can be opened by typing %temp% in run) and delete all files. If something cant be deleted leave it.
2) Run the .NET Framework 4 installer again. After the installer fails, close it.
3) Open windows %temp% again and open the log file (file would be MSIxxxxx.LOG, eg:MSI232f1.LOG)
4) Search for a line saying PROPERTY CHANGE: Adding NEWERVERSIONDETECTED property. Its value is {xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}'. Value will be different depending on the package that is already installed.
5) Open command prompt and run msiexec /uninstall {xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}
6) Now try installing .NET Framework 4 Installer again. This time it will succeed.
Also don't forget to disable Windows Installer logging. Using the same way you enabled it.
You can check if you allready installed .Net 4 in registry
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319

Install FastReport 5 trial

I have installed Delphi 10 Seattle Trial (Architect).
I try to install FR Professional 5 Trial (from official site).
I use recompile.exe from FR, then I start the Delphi, and FR components are not shown in tool palette, frxClass is not found.
I have installed all packages from FR/LibD23, I added TfrxReport component on design GUI. After click on this component FastReport is open, but when I try to compiling project, frxClass is not found.
Uninstall all instances of FR, remove all FR's files and folders (see system and hidden files too) and then run FR 5 Trial installer with "Run as administrator" option

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