By default Windows installs all the programs in C:\Program Files directory. You might want to change it if your “C” drive is running out of free space. While some programs allow you select the install drive and directory, most programs don’t offer the option to select installation drive. For instance, setup of antivirus programs like Kaspersky and Norton don’t offer an option to select the default installation directory during the product installation.
If you want to change the default installation location of programs in Windows 7, there is an easy workaround. You just need to edit the registry to change the default installation directory or path.
To start with this guide, make sure you have enough free space in your new directory which you are going to make as default one. You need to do a small registry change in order to change your default installation directory as follows:
Change default installation directory
Step 1: Type “regedit” in Start menu search box or in Run dialog box and hit enter key to continue.
Step 2: Navigate to the following registry key in the Registry Editor:
Step 3: Locate the value named “ProgramFilesDir” and change the default value “C:\Program Files” to your new directory path(address).
Step 4: Close the registry editor and reboot your system to apply the change. You might need to restart your computer to apply the change.
PS: This tweak should work fine with Windows XP, 2000, and Windows 7.