RAD Studio 10.4.2 Community Edition cannot make a new delphi project - delphi

Submenu File -> New contains only "Other..." and "Customize" items.
How to correct this?
My OS is Windows 10.0.17763.107.
Old version is 10.2 with same problem.
Installed new version 10.4.2, in process of installation of Delphi Community, I have error at Roboto Font downloading:
[403] Forbidden
I pinged this address of Getit found in the registry: https://getit-104.embarcadero.com
It is not responding! Ok, changing to getit.embarcadero.com, the result is negative.

It seems that your Delphi installation hasn't finished properly. Either it was interrupted or Licence manager didn't manage to verify your Community licence properly.
You could try fixing your licence using Licence Manager that you can find inside Delphi folder. If my memory serves me correctly it is located withing BIN subfolder (don't have access to development machine at the moment to verify).
But if the installation proces itself is getting interrupted you might want to download ISO installation instead of Online installation. When installing latest version of Delphi I had to use ISO installation since Web installation kept loosing connection. I suspect my AV Software (ESET Internet Security) with integrated firewall might be the cause.

Related

TEdgeBrowser Canary requirement

I tested TEdgeBrowser in RAD Studio 10.4.2 Sydney. Dropping the component onto a Form in C++Builder and then calling:
EdgeBrowser1->Navigate("https://www.stackoverflow.com/");
This results in an error on my development machine:
Failed to find an installed WebView2 runtime or non-stable Microsoft Edge installation.
I have placed WebView2Loader.dll (from C:\Program Files (x86)\Embarcadero\Studio\21.0\Redist\win32\) into the project's executable folder, so that could not have been the cause of the error.
After that, I installed Edge Canary, and then it started working without errors.
However, if I compile the same project in Release configuration, and then run on another system which only has a stable installation of the Microsoft Edge browser and doesn't have Edge Canary installed, it all works.
But, if I run the same Release build on my build system, it fails to load (probably because of the same reason as the Debug build - it can't find the Canary installation).
I tested TMS's TAdvWebBrowser component, which doesn't have this requirement, and it works on both systems without installing Edge Canary. But I'd prefer to use TEdgeBrowser instead, to avoid an unnecessary dependency on a third party component.
What is the reason for this odd behavior for TEdgeBrowser, and does the same happen in RAD Studio 11 Alexandria? Can this be avoided so it works with a stable Edge installation on both systems?
EDIT: I later discovered that there is this property:
EdgeBrowser1->BrowserExecutableFolder = "C:\\Program Files (x86)\\Microsoft\\EdgeCore\\101.0.1210.53";
With that, all works. But, according to the documentation (Using TEdgeBrowser Component and Changes to the TWebBrowser Component), it should automatically locate the current version of the WebView2 control on the system. It does this on one system, but not on the development system.
TEdgeBrowser requires WebView2 Runtime in order to operate. More details on MS Edge Documentation website.
WebView2Loader.dll should be loadable by your application, in the same folder, known path or registered in path environment variable. Latest version is available on NuGet. Nupkg is a zip archive. Look in build\native\ folder.
TEdgeBrowser.BrowserExecutableFolder should point to WebView2 runtime folder in case of fixed version.
Fixed version distribution, placed inside your application folder seems the preferred way on your scenario.
MS claims that evergreen version will be distributed by default in next Windows versions.

Failed to initialise Edge browser control

Having a hard time attempting to run an example how to use TEdgeBrowser component on Windows 10.
Using the latest RAD Studio 10.4.1 (27.0.38860.1461)
The example is located under this path:
c:\Users\Public\Documents\Embarcadero\Studio\21.0\Samples\Object Pascal\VCL\WebBrowser\Edge\
Attempting to start results in "Failed to initialise Edge browser control".
What I tried:
Installed the latest stable Edge version (88.0.705.68 (Official build) (64-bit))
Downloaded and installed the runtime from
https://developer.microsoft.com/en-us/microsoft-edge/webview2/
Downloaded this:
https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.705.50
Extracted WebView2Loader.dll and placed into the same folder where the compiled executable of the above demo resides
The documentation on:
http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_TEdgeBrowser_Component_and_Changes_to_the_TWebBrowser_Component
Seems to be out of date and refers to old 0.9.430 version. I have actually previously used Edge Canary release with that version of WebView2Loader.dll before and that has worked, but the stable version of Edge Chromium was released in the meanwhile, assuming there were breaking API changes.
So, is it even possible to use TEdgeBrowser with Edge Chromium at this point because from all that I've tried it seems pretty hopeless? To me it looks like it is hard-coded against 0.9.430 and RAD Studio 10.4.1 wasn't updated. Is there a workaround of any sort?
for solving this copy "WebView2Loader.dll" to your output path
TEdgeBrowser requires WebView2 Runtime in order to operate. More details on MS Edge Documentation website.
WebView2Loader.dll should be loadable by your application, in the same folder, known path or registered in path environement variable. Latest version is available on NuGet. Nupkg is a zip archive. Look in build\native\ folder.
TEdgeBrowser.BrowserExecutableFolder should point to WebView2 runtime folder in case of fixed version.
MS claims that evergreen version will be distributed by default in next Windows versions.

Installing CCR and DSS Runtime fails - Microsoft Robotics Developer Studio 4

I want to install the Microsoft Robotics Developer Studio 4 and downloaded it directly from microsoft.com. When I run the .exe file a window pops up with the requirements that will be installed before installing the RDS:
MS CCR and DSS Runtime
NVIDIA Physx System Software
When I hit the Install Button the status of CCR/DSS Runtime switches from Pending to Installing and after 10 seceonds of loading or something an error message appears:
"The files for installation requirement Microsoft CCR and DSS Runtime could not be found. The installation will now stop. This is probably due to a failed, or canceled download"
I'm quite sure that the file is not broken (multiple times downloaded, filessize matches) and I fullfill all software requirements listed here: http://www.microsoft.com/robotics/#GetStartedStep2
I did a bit of digging an found this thread under Social/MSDN:
Essentially:
Make sure .NET 3.5 sp1 is installed (.NET 4 won't do, it needs 3.5 sp1)
There are some reports of issues when installing in a path that contains non-english characters
There was one report saying that the person had to format/reinstal windows and then it worked fine
I know that this answer is incomplete at best but I'm hoping that it is a simple case of installing 3.5sp1.

How to install Delphi XE on Win7 64bit that has Delphi 2010 on it with least fuss

Any advice or gotchas that I should be aware of. I know to install in a NEW directory, and to have a backup. I will reread the readme file that included in the Delphi-XE installer.
I've never had problems installing a new release of Delphi with an older version also installed. I have heard that you shouldn't do the opposite (install an old version with a new one already installed) but as far as I know, installing "forwards" works just fine. And specifically installing XE with D2010 already present has never given me any trouble either at work on on my personal system.
Ive had a number of machines with multiple versions of delphi on without issue, however if you are that concerned, a further thought or consideration is to virtualise your development environments as then rather than reinstall you can "copy" .. Ive put mine into the XP mode machine on my windows 7 for that very reason.
I recommend not installing in Program Files (x86). I created a folder C:\DEVTOOLS which has my Borland, Codegear and Embarcadero folders (among others). This is definitely the 'least fuss' 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