[英]How to install a third party application
I would like to know if there's a way to handle c# to install a third party application (mysql server 5.0 in this case). 我想知道是否有处理c#的方法来安装第三方应用程序(在这种情况下为mysql server 5.0)。 I'm not talking about a visual studio installer project but a winForm application that could be programatically used to handle third party installers.
我不是在谈论Visual Studio安装程序项目,而是一个可以通过编程方式用于处理第三方安装程序的winForm应用程序。 Thanks in advance
提前致谢
I have used System.Diagnostics.Process
for that. 我已经为此使用
System.Diagnostics.Process
。 It can execute files on a given path, eg MySQL server installer. 它可以在给定路径上执行文件,例如MySQL服务器安装程序。 You would however need to supply the executable file.
但是,您将需要提供可执行文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.