2013-06-13 10:53
浏览 65

如何制作安装程序EXE / MSI文件(用于php文件)

Well I have two php files


with certain code.

To do

  • I want to make an installer file, which should zip these two php files in an exe or msi file.

  • and whenever user execute my installer file, it should extract my files to the specified folder on the pc.

  • also it should look like user is installing an software solution, i.e it should have some instruction, next button, back button, cancel button and a browse button to specify the installation location. (as you have experienced during a normal software installation )


Qadir Hussain

图片转代码服务由CSDN问答提供 功能建议


  db_config.php \ 带有特定代码的nindex.php 


  • 我想创建一个安装程序文件,它应该在exe或msi文件中压缩这两个php文件。

  • 并且每当用户执行我的安装程序文件时,它应该将我的文件提取到PC上的指定文件夹。

  • 它也应该看起来像用户正在安装软件解决方案, 即它应该有一些指令,下一个按钮,后退按钮,取消按钮和一个浏览按钮来指定安装位置。 (正如您在正常软件安装过程中所经历的那样)


    Qadir Hussain

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douli4852 2013-06-13 11:00

    NSIS is a great Open Source tool for installing software. From the website:

    NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution.


    NSIS is script-based and allows you to create the logic to handle even the most complex installation tasks. Many plug-ins and scripts are already available: you can create web installers, communicate with Windows and other software components, install or update shared components and more.

    点赞 打赏 评论

相关推荐 更多相似问题