To change the default location for installing application we will need to make a registry hack, for this we need to backup the registry before making any changes to it. To get into the registry, click on Start, then click on Run and type in regedit and press Enter.
To backup the registry, click File and then Export.
Now navigate it to the following location in the registry:
Now double click on ProgramFilesDir key and change its Value data from C:\Program Files toD:\Program Files or any other drive of your choice, Click Ok then Exit. The default directory for installation of all you programs shall now be X:\Program Files [ X be the drive letter of your choice].