如何在安装应用程序之前运行.net Framework安装程序 [英] How to run .net framework setup before installing application

查看:134
本文介绍了如何在安装应用程序之前运行.net Framework安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个C#4.0的安装项目,但是在客户端安装时它需要.net framework 4.0.Client希望当我们运行安装程序时,如果系统中不存在它应该先运行.net Framework,然后继续安装软件包.
因此,我无法添加.net框架并在运行安装程序时自动运行它.因此,请在这种情况下为我提供帮助.

谢谢.
Pankaj Kaushik

Hi all,

I have a setup project of C# 4.0 but it requires .net framework 4.0 when we install on client side.Client wants that when we run the setup then it should run the .net framework first if not present in system then it should continue with the installation of the package.
So I m not able to add .net framework and run it automatically when we run the setup.So Please help me in this context.

Thanks.
Pankaj Kaushik

推荐答案

您可以在设置中包括该框架.请参阅
You can include the framework in your setup. See here[^] (the link is for .Net 3.5 but .Net 4.0 should be similar).


这篇关于如何在安装应用程序之前运行.net Framework安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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