如何收拾安装(框架+应用程序)在一个可执行? [英] How to pack a installation (framework + application) in one executable?

查看:155
本文介绍了如何收拾安装(框架+应用程序)在一个可执行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个文件的setup.exe包含我用C#开发一个应用程序,并设置框架4.0。

I'd like to create a file 'setup.exe' that contains one application that I developed in C#, and the setup of .Net framework 4.0.

我们的想法是:当我执行的setup.exe这个人会检查是否有在.NET Framework 4.0安装在计算机上,如果不安装它

The idea is: When I execute the 'setup.exe' this one will check if have the .net framework 4.0 installed on the computer, and if don't install it!

使用2009年的InstallShield。

任何人都知道如何做到这一点?

Anyone knows how to do this?

让我知道,如果什么都不懂。

Let me know if don't understand anything.

感谢。

推荐答案

我解决了这个问题,创建一个自定义操作,这一次将是打开可执行文件类型,我叫向导的按钮事件这个自定义操作。

I resolved this question, creating a custom action, this one would be 'Open executable' type and I called this custom action in a button event of the wizard.

这篇关于如何收拾安装(框架+应用程序)在一个可执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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