NSIS 使用指南

来源:互联网 发布:linux查看文件修改时间 编辑:程序博客网 时间:2024/04/28 01:59

 NSIS 使用指南

Being a user's first experience with your product, a stable and reliable installer is an important component of succesful software.

--http://nsis.sourceforge.net/

参考

http://www.hanzify.org/teach/index.php?Go=Show::196-1108396800

这篇已经很全面了,大家可以着重参考。


一 下载nsis

http://nsis.sourceforge.net/Download


HM NIS EDIT

http://hmne.sourceforge.net/


三 安装vim

选用,可以不装。

参考

http://blog.csdn.net/zfpnuc/archive/2009/09/03/4516052.aspx


四 注意事项

!define MUI_WELCOMEFINISHPAGE_BITMAP "E:/vs2008/863demo/execute/NSIS/pic/logo2.bmp"

jpg 图像, 编译可以通过, 但是实际使用的时候显示不出来。

注释:引号内为位图的路径,位图大小大约为165*298

中间不能有空隙,要不编译不通过。


五 图标制作

ResHacker.exe

通过VS2008 编译出来的exe 文件没有图标,相当不美观,使用这个添加图标。


cmd translate to exe

VisualBat.exe

我中间在各个exe 中间使用了cmd 脚本,使用上面的软件进行转化。

具体下载地址请google


附录一,Nsis 代码


附录二Cmd 代码


 

 

原创粉丝点击