본문 바로가기

Academy I/Tech Academy

[Delphi]Enabling GetIt Install Logs for RAD Studio Installation

At times, RAD Studio GetIt-based web installer stops with some fairly vague error message. Here are some steps you can use to enable the creation of a log file with more information, which can be attached to Quality Portal reports.


At times, RAD Studio GetIt-based web installer stops with some fairly vague error message. These can be due to connectivity issues, odd file system configurations, lack of disk space, an existing partial install, and other causes. But some of the error messages like "operation error" don't explain the cause of the problem. For the future, we are making sure to surface more specific errors, like "Could not create folder xyz", "Could not copy file foo.dcu to folder bar", or similar. 


For the time being, and in general as a way to better report errors on Quality Portal, there is an undocumented registry setting you can use to enable the generation of a log file with the installer progress (notice, the same log file is used only for installation and manage platform dialog, not when you are installing regular, additional GetIt packages). 


After you have started the installation (up to the point of a failure or after a successfull operation) -- the configuration setting is read when you restart the process -- you can open the RegEdit Windows tool and navigate to a key like:


HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\xx.0\CatalogRepository\


where xx.0 is the internal version of RAD Studio, like 19.0 for the most recent version. Under that key add a DWORD value with the name "Debug" and the value 1.


As you restart an installation or restart the IDe to add new features, the system should create a detailed log file at a location like:


C:\Users\Public\Documents\Embarcadero\Studio\xx.0\GetItInstall.log


This helps getting more detailed information in case of error, but also have a full log of a successful installation. The same log file is used over time with more data added to the end. When you are calling support or reporting installer issues, adding this log file can help us identify the core issue.




[출처 : http://blog.marcocantu.com/blog/2018-july-getit-install-logs.html]



============================================================================



Enabling GetIt Install Logs for RAD Studio Installation 


The problem with DirectX setup is covered in the release notes for 

10.2.3:

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/10.2_Tokyo_-

_Release_3#Installing_DirectX_using_the_GetIt_Installer 



============================================================================



Enabling GetIt Install Logs for RAD Studio Installation 

when installing the community version of Delphi does not allow 

me to install because it shows the error that you mention and I 

follow the steps to see the log

It shows some kind of error when trying to install DirectX.

There will be a way to skip this step in the installer so that the 

installation process continues, since when the error is displayed, 

the installation will no longer continue


[2018-07-18 20:23:35] [INFO ] 

******************************************************

*

[2018-07-18 20:23:35] [INFO ] GetIt Package Manager - Version: 

6.0

[2018-07-18 20:23:35] [INFO ] Build Version: 25.0.31059.3231

[2018-07-18 20:24:00] [INFO ] Installation Start

[2018-07-18 20:24:15] [INFO ] Downloading "DirectX"...

[2018-07-18 20:24:16] [INFO ] Launching 

"C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRe

pository\DirectX-19.0.31059.3231\DXSETUP.exe /silent"...

[2018-07-18 20:24:17] [ERROR] A problem occurred during the 

process.


nstall DirectX-19.0.31059.3231 manually but continue with the 

same error there is a way to prevent the installer from installing it 

and continuing.


windows 10 version 1803 compilation 17134.167

with all the updates.


it's my development team

Will there be a key that has not been created?

When you show this error, it does not continue with the installation



============================================================================