本帖最后由 firemail 于 2017-1-18 19:50 编辑  
 
\thunderbird17.0.8\mail\branding\aurora 
\thunderbird17.0.8\mail\branding\nightly 
\thunderbird17.0.8\other-licenses\branding\sunbird 
\thunderbird17.0.8\other-licenses\branding\thunderbird 
 
---------------软件名称相关: 
 
accountCreation.dtd中这段描述把Thunderbird单词写死了,没有引用通用的brandShortName词条。 
 
\thunderbird17.0.8\mail\locales\zh-CN\zh-CN\mail\chrome\messenger\accountCreation.dtd 
\thunderbird17.0.8\mail\app\profile\extensions\langpack-en-US@richinfo.cn\chrome\en-US\locale\en-US\messenger\accountCreation.dtd 
 
-------------安装包相关: 
defines.nsi.in,WindowClass要改成“MozillaWindowClass”,这样安装才能正确检测到Fireshadow.exe是否在运行 
 
 中文安装包上控件字符串的定来自src\ mail\locales\zh-CN\zh-CN\mail\installer\custom.properties 
编译英文本,就在src\mail\locales\en-us\installer\custom.proterties下增加相应的内容 
注意修改license文件的目录 
 
\thunderbird17.0.8\mail\locales\en-US\installer\license.txt 
\thunderbird17.0.8\mail\locales\zh-CN\zh-CN\installer\license.txt 
 
执行make installer命令 
 
 
1 将license.txt文件放到src\mail\locales\zh-CN\zh-CN\mail\installer目录下 
2 修改\obj\mail\installer\windows下的makefile,增加  cp $(L10NBASEDIR)/$(AB_CD)/mail/installer/license.txt ./instgen/license.txt 
3 在\obj\mail\installer\windows执行make 
 
1 不修改makefile文件,修改src\mozilla\toolkit\mozapps\installer\windows\nsis\makensis.mk 
2 将msvcp100.dll msvcr100.dll放到obj\bin目录下(否则在WIN7下无法正常安装) 
3 在obj/mail/installer/windows下执行make 
 
 
修改卸载程序时指定的网址 
 
1 在src\mail\branding\richinfo\branding.nsi中指定自己的网址(SurveyURL),然后到响应的obj目录下,执行make 2 在obj\mail\installer\windows\下,执行make uninstaller,重新生成helper.exe,这个卸载程序,新生成的helper.exe将会在obj\...\bin\unisntall目录下 3 在obj\mail\installer\windows下,执行make,编译系统会自动将obj\...\bin\uninstall下的helper.exe复制到obj\installer-tage\core\uninstall目录下并重新生成安装包 
 
  
 |