选择为 Windows 应用程序创建安装程序
我正在为我的应用程序创建一个安装程序(它基本上充当服务器)。现在,需要在系统上安装东西有一个特定的流程。就像
- 我们需要检查系统上的各种事情一样,包括某些证书是否存在,如果这些检查中的任何一个失败,我们需要退出。
- 需要在SQL Server上创建并插入某些数据。
- 需要复制两个 Exes 并使用它们的 .config 文件对其进行配置。
- 需要在 IIS 上部署 Web 服务。
现在,由于我是创建安装程序的新手,我的问题是可以使用“Visual Studio 2010 安装/部署项目”来实现所有这些事情,我看了一下它,发现安装程序中很难实现流程。
他们还可以免费使用其他任何工具来创建安装程序。 ??
我正在考虑创建自定义应用程序来充当我的主应用程序的安装程序,这是一个好主意吗???
请帮助我做出决定。
提前致谢。
I am creating an Installer for my application(which basically acts as an server). Now, there is an specific flow in which things needs to be installed on the system. Like
- we need to check various things on the System, including if certain certificate exists or not and if any of these checks fail we need to exit.
- need to create on SQL Server and insert certain data.
- Need to copy two Exes and config it using their .config files.
- Need to Deploy an Web Service on IIS.
Now Since I am new to creating Installers, my question is can all these things be achieved using "Visual Studio 2010 setup/deployment project" , I took a look at it and was finding difficult to have a flow in installer.
Also are their any other Tools freely available to create installer. ??
I was thinking about create custom application that will act as installer for my main application, is that a good Idea ???
Please help me out in taking the decision.
Thanks in Advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看这两个。两者都允许自定义操作。
http://wix.sourceforge.net/ - 基于开源 XML。不难学习
http://www.advancedinstaller.com/ - 免费和专有版本,可视化(GUI基于)。对于不是超级复杂的安装非常有效。
我不会编写您自己的程序来充当安装程序。自定义操作使您能够编写自己的代码并运行它。不要浪费时间重新发明轮子。使用现有的定制没有的。
Take a look at these two. Both allow custom actions.
http://wix.sourceforge.net/ - open source XML based. Not to hard to learn
http://www.advancedinstaller.com/ - free and proprietary versions, visual (GUI Based). Very efficient for installs that are not super complex.
I would NOT write your own program to act as installer. Custom actions give you the ability to write your own code and run it. Don't waste your time reinventing the wheel. Use what is there customize what is not.