Project type: installshield script MSI
Objective: To install multi-language installation packages (English and simplified Chinese)
:/Files/zhaobl/Installshield/multi-language installation package .rar
Preview:
Steps:
1. During installation, enter the serial number
Reference: A simple installation package with serial number input in ocean girl's article, which is easy to implement.
2. multi-language support
The procedure is simple, but it takes a lot of time to encounter several problems.
A. Project Assistant-> Installation Localization, select "English (USA)" and "Chinese (China)", and compile, build, run, but do not come out of the language selection box.
B. Installation Designer-> Media-> Releases-> Release 1-> Build. The settings are as follows:
C. After the configuration is complete, it should be done as mentioned, but there are several problems.
Question 1: The directory or URL contains Chinese Characters
This is a learning installation package. In the past, it was only in simplified Chinese, and a directory used Chinese characters. After the company name is set in the assistant, the website is automatically generated and contains Chinese characters. In this way, the problem occurs after the English language is added, and the error prompt is obviously easy to modify.
Problem 2: Build Error 6041
This is because in Release 1, "Keep Unused Directiories" needs to be set to YES. The default value is NO.
"Specify whether you want InstallShield to remove unused directories from the Directory table of the. msi file when you build this release. Available options are :..."
Through the translation assistant, I can't see how much it is related to multiple languages. However, the solution is found by clicking the error code, which is not bad.
Solution:
To resolve the error, follow the steps below:
1. Browse to the 'releases' view in the Project.
2. Select the Release that you are working on.
3. Go to the 'build 'tab.
4. Change the 'Keep Unused Directories 'value to Yes.
5. Rebuild the Release and test it.
Problem 3: Failed to set code page for Language 46
This problem is especially confusing. Is the character set 46? The selected Simplified Chinese and English encoding are not 46. Open the Help page through the error code, saying that the corresponding character set needs to be installed, and then link to the Microsoft website. Microsoft website said that windows Nt 4.0 and 2000 require installation of ethnic language packs. A character set encoding table does not exist. 46. In short, the problem is not solved through help.
For search engines, Baidu is used first, and the search results are irrelevant. If you change to google, you can find a forum page.
Http://community.flexerasoftware.com/archive/index.php? T-193735.html, full English ah, slowly look, after a few people reply many times, appeared a cool, a sentence for solving
"
Open the Direct Editor view and select the ISRelease table.
Find the DefaultLanguage column, which will have a value of 46, and replace that value with 2052.
"
I don't know why the default value of Installshield is 46. After modification, it is done. This problem has been found for a long time before the solution is found. Therefore, record it so that people with the same problem can find a Chinese page, O (∩ _ ∩) O ~.