Using Japanese characters in a English installer - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

crimsonokami
Posts: 2
Joined: Sat May 14, 2011 3:19 pm

Using Japanese characters in a English installer

So basically I'm making an English installer but all the files that it installs have japanese characters in their name. And I can't rename any of the files because it's actually a patch installer and it needs to overwrite the old files to the new files. When i try to run the patch is says that the path directory has an invalid character and puts "?" where the japanese characters are supposed to go. From reading another post i assume that i can't use Japanese characters in an English installer no matter what. So what i tried next is switching the installer over to Japanese but keeping all the user interface text English. However this is were i got stuck, i got past the problem of the invalid characters and the patch runs perfectly, but now all the text is in Japanese and i don't know how to turn it back to or keep it in English. How do i make it so that Advanced Installer doesn't translate any of the user interface text?

thank you,
Crimson
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Using Japanese characters in a English installer

Hi Crimson,
When i try to run the patch is says that the path directory has an invalid character and puts "?" where the Japanese characters are supposed to go.
Have you tried enabling the option UTF-8 codepage from MSI tab, Media page?
How do i make it so that Advanced Installer doesn't translate any of the user interface text?
A very simple trick would be to temporarily replace the content of the dictionary file for Japanese with the one for English. The dictionary files are found in the "dictionaries" sub-folder
from the main installation folder of Advanced Installer. The files have the extension .ail these are actually simple text files which you can edit with Notepad++.

The files you are interested in are ui_en.ail and ui_ja.ail. Simply rename the original ui_ja.ail file, make a copy tof the English dictionary, then rename it to "ui_ja.ail" and
restart Advanced Installer so the dictionaries are reloaded, then build the package.

Please note that these changes should be undone as soon as you finish with this project, so other projects use the correct dictionary for Japanese.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
crimsonokami
Posts: 2
Joined: Sat May 14, 2011 3:19 pm

Re: Using Japanese characters in a English installer

Bogdan wrote:Hi Crimson,
When i try to run the patch is says that the path directory has an invalid character and puts "?" where the Japanese characters are supposed to go.
Have you tried enabling the option UTF-8 codepage from MSI tab, Media page?

Bogdan
This fixed everything. Thank you so much for your help, now my project is complete.

thanks again,
crimson

Return to “Common Problems”