Change the default installation location

Mars13001 Posted messages 35 Status Membre -  
Mars13001 Posted messages 35 Status Membre -
Hello, I would like to change the default location for program installation, but I cannot, the option is "grayed out" and I can't click on it. Does anyone have a solution, please?
Thank you

3 réponses

jeannets Posted messages 28340 Registration date   Status Contributeur Last intervention   Ambassadeur 6 597
 
Good evening,

I can talk about it from my humble opinion, as I have been practicing this method for quite a long time (since XP already)

I have partitions on my HDD ... I also have a 120GB SSD on the same PC
As @ledruide mentioned, which I greet, Windows and its boot must be installed on drive C:

That's also my case, Windows, and only Windows, is installed on the SSD
My data is on drive D: on the HDD named Data
All my programs are installed on drive E: and except for a few cases, they are all there
I should add that all my drives are partitioned and I prefer having two 500GB drives rather than one 1TB one. All this for security and protection purposes... if Windows crashes, only Windows will be affected, everything else is preserved without any collateral damage... and I have a backup that reloads in eight minutes... and everything is back to normal... crashes on the other partitions are much, much rarer.

To answer your question, beyond my introduction, you cannot move already installed software, pure and simple...NO

Every time you install a new program, you have to install it on E:. Indeed, during installation, you are offered a default installation folder that starts with C:\ Program... etc. You type E: instead of C: and your program will install on E:

Let’s specify that in E: you also created the same structure with the folder
E:\Program Files (x86)\ADWcleaner and you choose this folder...

If you want to move your programs, you need to uninstall them from C: to reinstall them in E:

If you want to change the default installation folder, you can read https://forums.commentcamarche.net/forum/affich-37641561-modifier-dossier-d-installation-par-defaut-c-programfiles
it happens here: Open the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

modify the data of this key with the new path of the installation folder in the key: ProgramFilesDir

It is advisable to have a real backup, tested and verified through "restoration" but we stray from the subject.

Here’s something to ponder... it doesn't happen in five minutes.
2
Malekal_morte- Posted messages 178136 Registration date   Status Modérateur, Contributeur sécurité Last intervention   24 711
 
If you want to change the default installation folder, you can read https://forums.commentcamarche.net/forum/affich-37641561-modifier-dossier-d-installation-par-defaut-c-programfiles
it’s located here: Open the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion


Beware, this method may cause issues with Windows update installations.
It is not well supported by Microsoft.
0
jeannets Posted messages 28340 Registration date   Status Contributeur Last intervention   6 597
 
Oh yes, it's possible, I didn't know that. I must say I don't let Windows do things automatically... On the contrary...

I even did a test with two PCs running Windows 7 Pro... Updates for three months on both and then nothing on just one... Both are working very well... So...?? What to think.
0
Malekal_morte- Posted messages 178136 Registration date   Status Modérateur, Contributeur sécurité Last intervention   24 711 > jeannets Posted messages 28340 Registration date   Status Contributeur Last intervention  
 
I was mainly thinking about Windows 10.
It generated an error code 0xc1900204 after a while, like this one: https://forums.commentcamarche.net/forum/affich-34550079-mise-a-jour-cumulative-windows-10-version-1607
0
jeannets Posted messages 28340 Registration date   Status Contributeur Last intervention   6 597
 
OK... I just have a Windows 10 (to see), I don't like it, it's not made for tinkers..!

Thanks for the info, it's good to know.. but come on, we should be able to do as we please, it's not wrongdoing to be cautious.
0