如何使用Inno Setup制作WPF和Wnd Service的安装程序? [英] How to make installer for WPF and Wnd Service, using Inno Setup?

查看:84
本文介绍了如何使用Inno Setup制作WPF和Wnd Service的安装程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以..我有一个解决方案(VS 2010),其中有10个项目,但基本上有两个主要项目-Windows Service和WPF应用程序进行配置.我想使用Inno Setup为该程序(服务+ wpf应用程序)创建一个简单的安装向导.

我问是因为我不确定该怎么做.在调试字典"中,我有dll(来自我的其他项目,还有许多其他项目),一些其他文件..我不知道安装字典时应该附加哪些文件?
WPF应用程序Debug文件夹的全部内容?
即使我打算使用Inno安装程序,是否也需要创建VS2010安装程序项目?

我知道如何添加和安装(如果需要).net框架,以及使用Inno Setup附加文件以安装字典.我只是不知道从VS2010解决方案(包含许多项目)到光盘上的字典,无法附加选择安装程序所需的选定文件的方式.

So.. I have a solution (VS 2010) with 10 projects, but basically with two main projects - Windows Service and WPF application for configuration. I want to make a easy setup wizard for that program (service + wpf app) using Inno Setup.

I''m asking because I''m not sure how to do that. In Debug dictionary I''ve got dlls (from my other projects but also many others), some other files.. I don''t know what files should be attached to install dictionary?
The whole content of WPF application Debug folder?
Is it necessary to create a VS2010 installer project even when I''m goning to use Inno setup ?

I know how to add and install (if necessary) a .net framework and attach files to install dictionary using Inno Setup. I just don''t know the way from VS2010 Solution with many project, to the dictionary on my disc, with ready to attach selected files necessary to install my program.

Thanks a lot for help in advance,

推荐答案

首先,如果您打算使用InnoSetup,则无需在VS上创建安装程序项目.

获取运行主要应用程序所需的文件,例如.exe和.dll.将它们放在文件夹结构中,就像您希望其在安装时的样子一样,并测试您的主要应用程序.如果一切正常,请将此文件添加到您的.iss脚本中.
First, you don''t need to create an installer project on VS if you are planning to use InnoSetup.

Take the files you need to run your main applications, like .exe and .dll. Put they in a folder structure just like you want it looks when it is installed and test your main applications. If everything is fine add this files to your .iss script.


这篇关于如何使用Inno Setup制作WPF和Wnd Service的安装程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆