Bothare on the latest Windows 10 version. However by copying the bds.exe from the workstation installation to the directory \21.0\bin on the notebook I could also successfully complete the installation on the notebook.
I used the online installer.
AV program is not a problem.
I have my installation now running - but Embarcadero should improve the installation process. This error has been known for some time, but so far it is unclear what the trigger is. See RSP-29385.
Now, as a second Delphi version is introduced I had to change the code to support opening said file in a specific Delphi version. My issue is that a simple call to bds.exe will always launch a new Delphi instance, and I need to re-use the one currently running. Basically I need to mimic the IDEs behavior when double-clicking a .pas file in Explorer.
Unfortunately I could not find any documentation about the parameters of BDSLauncher, nor any relevant parameters of Bds.exe which could achieve this. I also built a small program which only lists the parameters it was started with and temporarily replaced BdsLauncher.exe and then bds.exe to see what it received when something is double-clicked, but all I got was the full path of bds.exe.
I once had a problem that when I clicked on a ".pas" file (for example), the O.S. insisted on opening a new session for a new "IDE RAD Studio", even with the option above set to "all files associated with RAD Studio"...
In short, I had to "deselect" and "select" the above option again, in order for the REGISTRY to be updated!
Oh how it pains me to see my name in a post with a call to ShellExecute. That function should never be called because it doesn't offer proper handling of errors. Although it also shames me that my SO answer doesn't handle errors.
If the bds.exe missing error appears on your PC, you can use the methods below. Some are automatic, which means you can start a process to let the system automatically restore the file. Others are manual, meaning you will have to manually download bds.exe and move it to the correct program installation folder. If you are not very experienced with digging through system files and would prefer not to, you can simply go straight to an automatic method.
Outbyte PC Repair allows you to automatically repair EXE errors, without you having to worry about choosing the right file or registering it. The utility will not only download the correct version of bds.exe for free and suggest the right directory to install it to but will also resolve other issues related to the bds.exe file.
Driver updates for the Windows operating system, as well as for network adapters, monitors, printers, etc., can be downloaded individually and installed from the Windows Update Center or by using specialized utilities.
Outbyte Driver Updater automatically updates drivers on Windows. Routine manual driver updates are now a thing of the past. Just with a few clicks you can automatically search your system for outdated drivers and update all of them.
The new version of Windows 10 has a built-in application called "Windows Defender", which allows you to check your computer for viruses and remove malware. In order to use the Windows Defender offline scan, follow these steps:
Outbyte products are some of the most popular and effective programs for dealing with malware and unwanted programs, and they will come in handy even if you have a high-quality third-party antivirus installed. This software is specifically designed to complement your antivirus, not replace it. In the new version of Outbyte, scans can be performed in real time and manually. To initiate a manual scan please follow the steps below:
Many users are familiar with the sfc/scannow system file integrity check command, which automatically checks and fixes protected Windows system files. It is often one of the first things experienced Windows users do when they encounter errors.
Keep in mind that System File Checker (SFC) cannot fix integrity errors for those system files that are currently being used by the operating system. To fix these files you have to run SFC command through the command prompt in the Windows recovery environment. You can get into Windows Recovery Environment from the login screen by clicking Shutdown, then holding down the Shift key while selecting Restart.
This operation will take a while and it is important to wait until it is complete. When finished, close the command prompt and restart the computer as usual. You should find that the bds.exe missing error is gone.
System Restore is very useful if you want to fix bds.exe error, or almost any other error. Using the "System Restore" function, you can choose to restore Windows to a date when the bds.exe file was not damaged. Restoring Windows to an earlier date cancels changes that were made to system files since that date. Please follow the steps below to roll back Windows using System Restore and get rid of the bds.exe error.
I have lost many settings of the IDE, the IDE is not compiling, and other issues. I wanted to repair the installed product (Delphi XE2 Architect). But when I did this, the installer removed lots of files in the installation folder, even bds.exe.
The repair works fine, and shouldn't interfere with your XE3 install. If your IDE is broken to the point that you can't compile, a reinstall is probably the only way to fix it. A repair or reinstall should also leave your third-party components installed, as it doesn't replace anything in the registry.
(This is really a vendor support question, BTW, and since it's related to installation you can open a free support case at Embarcadero Support. The question isn't really appropriate for StackOverflow.)
Having the same problem with 11.2: the Delphi IDE hangs till the developed application is killed in the taskmgr.
Found a temporary workaround, without completely disabling the realtime scanner: turn Scan On: "File open" and "File creation" off.
I have the same problem. Re- and Uninstalled my old-old delphi2006, believed that is the problem and installed a "newer" delphi 2007 (I have a lot large project in that old versions) but the error is persist. Work of hours showed me, that the mentioned eset version made me this foolish installation.
2. The only workaround I've found was to define the affinity of the BDS.exe process. You can do this by right clicking the bds.exe process in the Details tab of the Task Manager and Define affinity but it will only define it for the current run. You can define affinity definitively by running BDS through the command line. Here is my shortcut :
MP: I didn't try this. I don't know why it should help. That aside, possibly degrading performance whilst also being something I'd need to do every time I run Delphi isn't worth my time. For the moment, RTP is disabled
In most cases, bds.exe file problems are due to the file missing or being corrupted (malware / virus) and often seen at Architect program startup. Obtaining a new, uninfected copy of your EXE file will usually resolve the problem. Also, maintaining a clean and optimized Windows registry can help in preventing invalid EXE file path references, so we highly recommend running a registry scan on a regular basis.
Once the file is successfully placed in the right location on you hard drive, these bds.exe issues should disappear. Running a quick verification test is highly recommend. Re-open and test Architect to see if the issue has been successfully solved.
Bds.exe EXE errors happen during Architect installation, while running Bds.exe-related applications (Architect), during startup or shutdown, or during installation of Windows OS. Documenting bds.exe problem occasions in Architect is key to determine cause of the Embarcadero RAD Studio for Windows problems, and reporting them to Embarcadero Technologies, Inc..
If you get hired at Embarcadero, or anywhere really, to sell anything, especially in the tech sector you'll get hauled into your bosses office regularly and someone who looks like they might belong in a Dilbert cartoon will tell you what the new thing is, that they read in their BossManagerMonthly magazine or blog, and tell you you need to get on top of it.
What is Windows 11? For microsoft it's a chance to make a set of controlled breaking changes to the Windows platform ecosystem. It's neither purely a "good" thing, nor purely a "bad/mediocre" thing. It's a necessary thing.
While Apple feels free to break everything all the time, every day, Microsoft has comitted to, and maintained a history of not breaking everything every day. And so there comes a time, when breaking changes and "flag days" have to happen. In true microsoft fashion, there are devices that will continue to run Windows 10, for the next few years, or longer. And also in true microsoft fashion, there are devices that will refuse to auto-upgrade for you but which you can force to update to Windows 11, via the media creation tool, with Microsoft's full blessing. You try it, you get the results and you get to see for yourself what Windows 11 does on your random pre-2020 consumer hardware.
I have one anecdote to report; It seems Delphi 10.4 debugger hangs a lot on Windows 11. Any attempt to set breakpoints and single step, the whole IDE (bds.exe) process hangs forever at 0% CPU. There do not appear to be wait chain analysis tools built into Windows 11 yet, and I'm not sure if I could do a wait chain analysis on BDS.exe from visual studio but I don't have visual studio on this box.
In a trivial hello world app, Delphi 10.4.2 freezes about 50% of the time after I hit a breakpoint and then continue. Other 50% of time, it may recover and then when you end the debug session it will say "fatal debugger error" and ask that you shut down the IDE. THere's basically something fundamentally different in the Windows Kernel environment in Windows 11, and the Delphi 10.4 debugger is not up to speed with the changes in the platform. My tests are with Delphi 10.4 build 27.0.40680.4203 (delphi 10.4.2, all of Update2 installed) on Windows 11 pro build 21H2, osbuild 22000.258 (windows 11 initial release).
3a8082e126