Changing the default software installation path allows the user not to worry about where to look for a particular directory. The user will always know the location of his programs on the computer.
Changing the default installation path
Perhaps, many users of personal computers are faced with the fact that this or that software is installed automatically (does not ask to indicate the path). Of course, not all programs do this, but only a minority of them. Others are always asked to specify the final installation directory. Unfortunately, such a problem can lead to the fact that the system disk runs out of free space, and many people divide disks in such a way that only programs can be installed on one, and, for example, games on the other. Some users may even skip the item related to specifying a directory, which can also lead to the above. As a result, it turns out that the user will simply have to search and delete certain directories on their own in order to free up space on the hard disk.
Registry changes
As you know, programs do not care about the final installation path, and it is not necessary to install all programs in the Program Files folder (this is the final folder in most cases). There is, of course, a way to change the default destination directory. This can be done as follows. First, the user needs to go to the "Start" menu and find the inscription "Run" there (you can run this application using the Win + R hotkeys). After that, you need to start the registry editor. It is in it that the main changes need to be made. In order to start it, the regedit command is entered in the window that appears.
Then, when a new window opens (the registry editor itself), in the branch on the left you need to find HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion. After clicking on the last directory, the right side of the window will be refreshed. Here you need to find the ProgramFilesDir or ProgramFilesDir (x86) files (if you see both of these files, then both of them need to be changed). You need to double-click on them and change the parameters in the "Value" line to those that you need (for example, change the drive from C to D). After you enter the required values, you need to close the registry editor and restart your computer, since the changes will take effect only after you restart your personal computer. If everything is done correctly, then the software will be installed in the exact directory that you specified.