如何建立依赖于.NET application1的.NET application2? [英] How can make a setup of .NET application2 which is dependent on .NET application1?

查看:60
本文介绍了如何建立依赖于.NET application1的.NET application2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有两个C#.NET Windows应用程序.
我说应用程序1和application2.

我已经设置了application1.
现在,application2依赖于application1.
在安装application2时,我希望该功能自动检测是否安装了application1.如果未安装application1,它会自动自动开始安装application1,然后再安装application2.

Application2也依赖于.bat文件.
我还想在安装application2之后执行该批处理文件. .批处理文件的路径位于安装后的application2的根安装中.


我很难进行这样的设置.

请指导我.您的真实指导将受到高度赞赏.

谢谢

-
关于,Asif


软件开发人员

解决方案

在您的情况下,我认为您会为两个应用程序创建两个安装文件.这意味着您要为第一个应用程序制作一个普通的安装文件,然后为第二个应用程序创建第二个安装文件.第二个设置文件应应用IDE提供此功能的检查条件.

希望它对您有所帮助



sun


Hi all,

I have two C#.NET windows applications.

let say application 1 and application2.

I have made a setup of application1.


Now application2 is dependent on application1.
while installation of application2, I want the feature to detect automatically if application1 is installed. If application1 is not installed and it automatically starts the installation of application1 first and then install application2.

Application2 is also dependent on a .bat file.
I also want to execute that batch file after installation of application2. The path of batch file is in the root installation of application2 after its installation.


I am feeling a difficulty to make such a setup.

Please guide me. your true guidance will be highly appreciated.

Thanks

--
Regards,
Asif


Software Developer

解决方案

In your situation I think you sould create two setup files for both applications. This means that you make a normal setup file for the first application and then create the second setup file for second application. The second setup file you should apply a check condition which IDE provides this function.

Hope it would help

Regards

sun


这篇关于如何建立依赖于.NET application1的.NET application2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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