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: Question for localizing the ProgramFilesFolder property.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 01, 2011
03:05 AM
Question for localizing the ProgramFilesFolder property.
Hi All,
I have a Basic Msi Project.
My question is if the ProgramFilesFolder can be localized.
Currecntly the installdir is [ProgramFilesFolder]CompanyName\ProductName.
For example in an English win 7 the installdir showed on the install panel is "C:\Program Files\xxx\xxx". While in a German win 7 it still is "C:\Program Files\xxx\xxx". Why it is not the "C:\Programme\xxx\xxx".
Do you know how InstallShield works in this case? Does the ProgramFilesFolder property can be localized manually by String Table? Or the localization controlled by the InstallShield? Or the ProgramFilesFolder property can not be localized at all and it will always be "C:\Program Files\" at all languages?
Do you have any idea? Please help. Thanks.
- ocean
I have a Basic Msi Project.
My question is if the ProgramFilesFolder can be localized.
Currecntly the installdir is [ProgramFilesFolder]CompanyName\ProductName.
For example in an English win 7 the installdir showed on the install panel is "C:\Program Files\xxx\xxx". While in a German win 7 it still is "C:\Program Files\xxx\xxx". Why it is not the "C:\Programme\xxx\xxx".
Do you know how InstallShield works in this case? Does the ProgramFilesFolder property can be localized manually by String Table? Or the localization controlled by the InstallShield? Or the ProgramFilesFolder property can not be localized at all and it will always be "C:\Program Files\" at all languages?
Do you have any idea? Please help. Thanks.
- ocean
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 02, 2011
07:16 AM
On windows 7 you have always "C:\Program Files" as [ProgramFilesFolder], but it is displayed "localized" in the windows explorer. If you use the variable [ProgramFilesFolder] you are always save.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 02, 2011
07:59 PM
MarkusLatz wrote:
On windows 7 you have always "C:\Program Files" as [ProgramFilesFolder], but it is displayed "localized" in the windows explorer. If you use the variable [ProgramFilesFolder] you are always save.
Hi MarkusLatz,
Thanks for your relpy.
I did a check, the [ProgramFilesFolder] property actually is "C:\Program Files" in Geman Windows 7 but it showed as "C:\Programme" in Explorer.
Do you know is there any way to make the path of the Program Files folder localized on the install panel during the installation?
May be hard code a localized path is one way, but the location of the Program Files folder can be different. So I think this is a bad idea.
Thanks,
ocean
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2011
06:23 AM
You can get the localized name with API SHGetLocalizedName
At the following link is a code snippet how it works.
http://blogs.msdn.com/b/michkap/archive/2007/01/18/1487464.aspx
At the following link is a code snippet how it works.
http://blogs.msdn.com/b/michkap/archive/2007/01/18/1487464.aspx
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2011
08:12 AM
MarkusLatz wrote:
You can get the localized name with API SHGetLocalizedName
At the following link is a code snippet how it works.
http://blogs.msdn.com/b/michkap/archive/2007/01/18/1487464.aspx
Thank you MarkusLatz. I will have a try.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)