Saving disk space with the new RAD Studio Installer

RAD Studio 10.1 Berlin has a brand new installer that provides better user experience, higher flexibility and lower installation time, among other great benefits.

Nowadays it’s quite common (and recommended) to have an SSD disk, but those disks have a lower capacity than the traditional ones, and RAD Studio still requires a lot of disk space to fit the great set of amazing features that are included with the product.

So, if you want to save some space from your primary disk and you have a secondary drive, there are a couple of things you can do when installing RAD Studio (or Delphi or C++ Builder).

When RAD Studio is downloaded, the compressed files are temporarily stored on the user’s TMP folder, that is %USERPROFILE%\AppData\Local\Temp by default.

0305_WindowsEnvironmentVariables

Changing the destination folder for this User Variable will force the RAD Studio installer to download the temporary files on a different path. Make sure that you have permissions enough to write on that folder, and that there are no other restrictions on it. Only one file is downloaded/extracted at a time. These temporary files are automatically deleted when the final files are extracted from them.

0306_WindowsEditUserVariable

The content of the downloaded files is extracted into the path that RAD Studio stores in the BDSCatalogRepositoryAllUsers system variable. Those files are later copied into the installation path but not deleted from its original path, for safety reasons.

So if you don’t want those files to be wasting disk space from your primary disk, you should change this BDSCatalogRepositoryAllUsers value before downloading any platform. So when the Platform Selection screen appears for the first time, close it.

0301_PlatformSelection

Then, go to the Tools menu and click on Options. On the Environment Variables section, you can override the value for the BDSCatalogRepositoryAllUsers variable as seen on the following image.

0302_EnvironmentVariables

Again, make sure you have full access on the selected folder. Then, open again the Platform Selection screen (for example from the “Platforms and Extension Manager” entry from the renewed Welcome Page), and then you can start downloading your preferred platforms and additional packages.It’s not recommended to change the settings for the BDSCatalogRepositoryAllUsers path once you have downloaded some content.

0303_PlatformsWelcomePage

Another method to easily change the values for the TMP and BDSCatalogRepositoryAllUsers paths is by changing the following registry keys:

  • Folder: [HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\18.0\Environment Variables]
    • Key: BDSCatalogRepositoryAllUsers
  • Folder: [HKEY_CURRENT_USER\Environment]
    • Key: TMP

It’s recommended to change these registry keys before running RAD Studio.

 

 

In summary, the new RAD Studio (Delphi, C++ Builder) installer is amazing. It provides a stunning flexibility to add and remove platforms and addons at my wish, so I can easily customize my RAD Studio installation as I need it. And not to forget about the new look & feel of the installer.

If you were afraid about the disk space requirements, just follow my tricks, go for it and enjoy a whole new installation experience.


Some interesting links about the new Installer that you may like to read:

 

Anuncios

2 thoughts on “Saving disk space with the new RAD Studio Installer

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s