在Windows安装程序中,单击“完成"按钮后,在安装后运行exe控制台应用程序 [英] In windows setup run the exe console application after installation when click on Finish button
本文介绍了在Windows安装程序中,单击“完成"按钮后,在安装后运行exe控制台应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在将Visual Studio 2005与C Sharp一起使用.
在安装程序部署中,我希望当用户单击完成"按钮时,将运行一个控制台exe文件.
我应该如何解决此问题.
I am Using Visual Studio 2005 with C Sharp.
In Setup Deployment, I want , that when user will click on Finish Button a console exe file run.,
How should I solve this issue.
推荐答案
尝试 ^ ]-它允许您从程序中执行任何可执行文件.
在安装程序的完成按钮上,放入用于启动exe的代码.
Try Process.Start[^] - it allows you to execute any executable from within your program.
On finish button of your installer, put the code for starting the exe.
这篇关于在Windows安装程序中,单击“完成"按钮后,在安装后运行exe控制台应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文