Solve the problem of garbled display on non-Chinese system for Inno Setup production Chinese installation package

Source: Internet
Author: User

I haven't updated it for several months. I'm so embarrassed ...

At present our new client development is nearing the end, the bug has been changed, the reconstruction of the place is almost. Visual effects have also been changed according to the style of the artwork. Therefore, the production of the installation package is poor. What is so-called ready, only owed East wind.

First of all, of course, the use of InstallShield Limited Edition to make the installation package. This tool says simple, is really simple. All are graphical and can be combined well with vs. How to use the details, here is not the table. On the Internet a search a large pile. InstallShield Le version The biggest problem is that the open function is too little, I want to play a font in the installation package, I found that I have to upgrade to the Pro version. The problem of upgrading is not very big, but too expensive, 2500+ Mei Dao ... The main thing is that the script control is not open, think about it or forget it. The so-called rich wayward, no money resigned. Bye ~

So the next thing you can choose is Inno setup. How to make Inno setup package, I don't think I need to watch it here. A search a lot of ah, everyone is yard farming, each IQ high, no need to OH. Take a look at the help documentation and take care of the minute clock.

Here's a talk about how to set up the Chinese Installation Wizard interface for Inno Setup.

First, you download Inno Setup (for example, Isetup-5.5.5-unicode) that supports the Unicode version. Here is a link, convenient for everyone: Http://www.jrsoftware.org/download.php/is-unicode.exe. The reason to mention Inno's Chinese Installation wizard problem, mainly because the Chinese language pack, Inno not provide the official version, so you have to do it yourself. Do it yourself, in fact, it is quite simple, the installation directory under the DEFAULT.ISL in the English translation into Chinese, and then save the languages directory can be. Except for one detail, that is the [langoptions] paragraph. This is used when you want to support multi-language installation display. Where LanguageName is to be represented using Unicode characters. For example, if you want the language selection to show Simplified Chinese, then you need to do this languagename=<7b80><4f53><4e2d><6587>.

Next, I assume that you have already translated all the relevant English into Chinese, then you can make a Chinese wizard installation package. Typically, we want to install packages at least as well as internationalization. Regardless of the God horse language of the Windows system, the installation package on the boot interface after the Chinese characters should not be displayed as garbled it?

Unfortunately, most of the time I found that the application installation package always had problems with me. Because I always use the English system.

In order to solve some of the setup program garbled problem, I have to set the next area in about language for Non-unicode programs, as follows:

Set the current language for non-unicode programs to Chinese simplified (in order to test Inno Setup, I have set it to 中文版).

OK, speaking of here, you have to try it on the English system (or other non-Chinese system) set to the image shown above, the current language for Non-unicode programs set to 中文版, your Inno Is the setup package started and is it garbled?

If it is garbled, then congratulate you, because, fortunately, the problem is the mouth to very good solution drops.

In fact, the solution is very simple, you just need to change the ISL file to UTF-8 encoding. If that doesn't work, change the encoding format to UTF-8 with BOM.

Currently, Unicode-enabled Inno Setup supports only UTF-8 encoding, and other UTF-16 le/be with or without BOMs are not supported.

All right, it's over. Feel a lot of crap ... Ha ha...

Solve the problem of garbled display on non-Chinese system for Inno Setup production Chinese installation package

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.