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: Japanese Characters in INSTALLDIR
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
‎Nov 12, 2012
05:12 PM
Japanese Characters in INSTALLDIR
I am running into the following issue (on English Win 7 with English Local):
When installing a product (Basic MSI Project), if I do a "Custom" install, and use Japanese characters (ex: テストパス) in the install path (or select a folder containing Japanese characters in the name), the install will succeed, as long as I don't perform any operations on INSTALLDIR.
Now, if I try and modify INSTALLDIR using MsiSetProperty, the installation will return the following error:
Error 1324. The path ????? contains an invalid character.
Also, if I try to use MsiGetProperty and print the value of INSTALLDIR using MessageBox, it will print questions marks "?????".
If I change the system locale to "Japanese", everything works.
It almost seems like performing an operation in the installscript (MsiGetProperty/MsiSetProperty") might be changing the text from Unicode to ANSI? I've tried using STRING and WSTRING in MsiGetProperty/MsiSetProperty.
Is there anything I can do to make this work in the English local, or will I be required to change the local to have foreign characters in INSTALLDIR?
Thanks.
When installing a product (Basic MSI Project), if I do a "Custom" install, and use Japanese characters (ex: テストパス) in the install path (or select a folder containing Japanese characters in the name), the install will succeed, as long as I don't perform any operations on INSTALLDIR.
Now, if I try and modify INSTALLDIR using MsiSetProperty, the installation will return the following error:
Error 1324. The path ????? contains an invalid character.
Also, if I try to use MsiGetProperty and print the value of INSTALLDIR using MessageBox, it will print questions marks "?????".
If I change the system locale to "Japanese", everything works.
It almost seems like performing an operation in the installscript (MsiGetProperty/MsiSetProperty") might be changing the text from Unicode to ANSI? I've tried using STRING and WSTRING in MsiGetProperty/MsiSetProperty.
Is there anything I can do to make this work in the English local, or will I be required to change the local to have foreign characters in INSTALLDIR?
Thanks.
(3) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2012
02:39 AM
In Releases viewer, select Build tab.
Set Build UTF-8 Database to "Yes", then build it.
Set Build UTF-8 Database to "Yes", then build it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2012
09:10 AM
It sounds like this option would probably fix the issue. Unfortunately, it appears this option is not available in Installshield 2008 and was added as a new feature in Installshield 2010.
Thanks.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 30, 2012
05:01 AM
I don't there is any other way instead of deleting the older files before upgrade since it will definitely create duplicate files.