[izpack-users] Installationdirectory on international versions ofWindows is always "Program Files"
hans-georg at michna.com
Mon Nov 27 07:16:49 CET 2006
On Thu, 23 Nov 2006 15:19:00 +0100, Bartz, Klaus wrote:
>do you have an good idea how to resolve default installation
>path on Windows without calling a system function?
Windows has an environment variable named ProgramFiles that
contains the path (like C:\Program Files or C:\Programme).
Perhaps this helps. It's also in the registry.
And then there is the quick and dirty method of looking for both
the language-specific folder and the Program Files folder and
check which one has more subfolders. (More dirty than quick
Hans-Georg (just passing by here by accident)
No mail, please.
More information about the izpack-users