cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

ProgramFilesFolder on Vista German (c:\Programme)

I have a multilanguage Basic MSI install in German and English.

[INSTALLDIR] is defined as [ProgramFilesFolder]\CompanyName\ProductName

In the DestinationFolder dialog, the [INSTALLDIR] is listed as:

C:\Program Files\CompanyName\ProductName for both English and German.

The proper directory for German should be c:\Programme\CompanyName\ProductName

When the install of files is actually taking place, the [ProgramFilesFolder] is resolved correctly, and all the files are placed in C:\Programme\CompanyName\ProductName.

Is there a way to get the [INSTALLDIR] to resolve properly in the DestinationFolder dialog? My German customers are unhappy.

Mike
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

ProgramFilesFolder is resolved by the Windows Installer service through the SHGetFolderPath/SHGetKnownFolderPath APIs. You can see the values resolved by these API calls in a verbose MSI log. If ProgramFilesFolder is resolved to C:\Program Files by this API, or if MSI is displaying the folder differently, there isn't any method available to change this behavior (though you could try resolving the local Program Files path in a custom action and set INSTALLDIR based on that resolved value).
0 Kudos