[izpack-users] Installationdirectory on international versions ofWindows is always "Program Files"

Bartz, Klaus Klaus.Bartz at coi.de
Thu Nov 23 15:19:00 CET 2006


Hi Markus,
do you have an good idea how to resolve default installation
path on Windows without calling a system function?
If so, let us know...
I know the way via
SHGetFolderPath(0, CSIDL_PROGRAM_FILES ,0, SHGFP_TYPE_CURRENT, &buf);
but I know also the problems with it on old boxes. And until now I have not have the
lust to add JNDI and may be an installation of shfolder.dll for this.
 
Cheers
 
Klaus
 

-----Original Message-----
From: izpack-users-bounces at lists.berlios.de [mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Markus Schlegel
Sent: Thursday, November 23, 2006 2:51 PM
To: izpack-users at lists.berlios.de
Subject: [izpack-users] Installationdirectory on international versions ofWindows is always "Program Files"


Hi
 
I encontered, that IzPack does not read the "ProgramsFolder" from Windows.
Instead it has a propertiesfile with values for each Language.
 
Unfortunately, many large and/or international companies do not install a specific Language of Windows anymore.
However, they install a Multilingual version and one or more Languagepacks. In such an Installation, the ProgramsFolder is always "Program Files" - no matter which Language is actually set.
 
Since IzPack determines the ProgramFiles Folder from the current Language, this is wrong on such systems.
IzPack really has to read out the correct value from Windows.
 
Is there any chance to get this fixed, or do I have to fix it myself (dumb question, I think)?
 
Regards
Markus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20061123/deaaabae/attachment.html 


More information about the izpack-users mailing list