从c#安装项目运行另一个程序 [英] Running another program from c# setup project

查看:156
本文介绍了从c#安装项目运行另一个程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在C#中进行了一个设置和部署项目,现在我有另一个windows update exe,我想在安装我的项目之前运行并安装成功。我已经将exe与我的项目打包了。我应该如何运行该exe?

解决方案

您想要为运行可执行文件的安装程序添加自定义操作。这个WalkThrough将带你进行htat工作。



http://msdn.microsoft.com/en-us/library/d9k65z2d(VS.80).aspx


I have made a setup and deployment project in C#, Now i have another windows update exe which i want to run and install successfully before it installs my project. I've packaged the exe with my project. How may i run that exe before?

解决方案

You want to add a Custom Action to the Setup Project that runs the executable. This WalkThrough will take you through getting htat working.

http://msdn.microsoft.com/en-us/library/d9k65z2d(VS.80).aspx

这篇关于从c#安装项目运行另一个程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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