This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: ProgramFilesFolder on Vista German (c:\Programme)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 22, 2009
09:21 AM
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
[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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 26, 2009
12:52 PM
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).