自定义安装项目 [英] Custom setup project

查看:68
本文介绍了自定义安装项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,

我想创建一个setup.exe,如果需要我将在其中定义所有先决条件。但这不包含我的申请。先决条件如下 -

1. Windows Installer 3.1

4.字体和

5.自定义文化。



有可能吗?

Dear Friends,
I would like to create an setup.exe which will install all prerequisites if necessary i define in it. But this will not contain my application. The prerequisites are the following-
1. Windows Installer 3.1
2. .Net Framework 4.0
3. Microsoft report viewer
4. Fonts and
5. Custom culture.

Is it possible at all?

推荐答案

绝对。实际上,Microsoft正在弃用安装项目模板和过时的安装项目类型,MSBuild不支持。该怎么办?我强烈推荐Windows Installer XML工具集(WiX),它完全包含在MSBuild中,并提供与Visual Studio 2008到2012的完美集成。这样,从源代码到设置的完整项目构建可以完成在Visual Studio和批处理模式下,来自相同的源解决方​​案。



此工具集是一个开源项目,在CPL下:http://en.wikipedia.org/wiki/Common_Public_License [ ^ ]。



请参阅:

http://en.wikipedia.org/wiki/WiX [ ^ ],

http:// wixtoolset。 org / [ ^ ]。



另请参阅:

http://en.wikipedia.org/wiki/MSBuild [ ^ ],

< a href =http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx> http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx [< a href =http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspxtarget =_ blanktitle =New Window> ^ ]。



-SA
Absolutely. Actually, Microsoft is in the process of deprecation of setup project template and obsolete Setup project type, which is not supported by MSBuild. What to do? I highly recommend Windows Installer XML toolset (WiX), which is fully wrapped for MSBuild and provides, among many other things, great integration with Visual Studio 2008 to 2012. This way, the complete project build from source code to the setup can be done both in Visual Studio and batch mode, from the same source solution.

This toolset is an open-source project, under CPL: http://en.wikipedia.org/wiki/Common_Public_License[^].

Please see:
http://en.wikipedia.org/wiki/WiX[^],
http://wixtoolset.org/[^].

See also:
http://en.wikipedia.org/wiki/MSBuild[^],
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

—SA


这篇关于自定义安装项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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