Install shield 2009 支持中文安装包

来源:互联网 发布:linux搭建sip服务器 编辑:程序博客网 时间:2024/05/16 19:03

工程设置:

1. 在installshield 2009 中添加语言种类,以供用户进行选择。
实现方法:在Installation Designer->InstallationInstallation Information->General Designer->General Information->Project Properties->Setup Languages

中添加需要的语言,如中文、英文等。
2. 选择默认的安装语言,操作方法:在执行完添加语言的操作后,在Installation Designer->Installation Information->General Designer->General

Information->String Table选中将要被设置为默认安装语言的语言选项,又击鼠标,选择make default。

3 Media->Release->Releases->安装包的名字

右面展开的界面中把Lanaguage(s) 和Default Languages 修改问中文即可

4. User interface->Dialogs->All Dialogs 编辑中文对话框

 

编译错误排除:

 1. error RC2103 : unexpected end of file in string literal

Built 7 dialogs into resource file: _ISUser2052.rc
Building RES file: _ISUser2052.res

error RC2103 : unexpected end of file in string literal

ISDEV : error -6118: The Resource compiler failed to build the RES file "F:\xxxxxxxx.res" required to link the DLL.

排除过程:

1). 查看资源文件_ISUser2052.rc,发现

部分对话框资源字体部分出现乱码 FONT 9,"ì",0,0,0x1,

正确的对话框 FONT 8,"MS Sans Serif",0,0,0x1

2). 打开User interface->Dialogs->All Dialogs,找到出错的对话框,打开中文对话框的属性,将“Text Style”修改为“MS Sans Serif”

 

编译通过

 

 

 


原创粉丝点击