1place
SpringPublisher Pro All the ideas and discussions
116 votes Vote

Change the default installation path from the root directory (C:\ to program files (x86) or Program files for XP.

Whiterabbit-uk, 11.10.2011, 07:04
Idea status: under consideration

Comments

BuBBy, 11.10.2011, 09:20
Of Course - on other languages of Windows - the folder names are different so you should never hard code the paths as above. (They might not even be on a C: drive).

Instead use %ProgramFiles%

%ProgramFiles%

This variable points to Program Files directory, which stores all the installed program of Windows and others.

The default on English-language systems is C:\Program Files.
In 64-bit editions of Windows (XP, 2003, Vista), there are also %ProgramFiles(x86)% which defaults to C:\Program Files (x86) and %ProgramW6432% which defaults to C:\Program Files.

The %ProgramFiles% itself depends on whether the process requesting the environment variable is itself 32-bit or 64-bit (this is caused by Windows-on-Windows 64-bit redirection).

Leave a comment