运行exe文件背景 [英] run a exe file background
本文介绍了运行exe文件背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
iam通过批处理文件安装我的exe文件..
当iam安装pop''ups时
但是我想将exe文件安装为背景(这意味着我不想显示exe文件的安装方式)
怎么可能?
谢谢
chaitu,
iam installing my exe file through batch file..
when iam installing pop''ups are coming
but i want to install exe file as background(dat mean i dont want to show how the exe file is going to install)
how is it possible??
thanks
chaitu,
推荐答案
您可以使用Startinfo进行指定:
Hi,
You can specify that with a Startinfo:
var si = new System.Diagnostics.ProcessStartInfo();
si.CreateNoWindow = true;
si.FileName = "test.cmd";
System.Diagnostics.Process.Start( si);
请参考此 [
Refer this[^] also.
只需将无声触发器写入批处理文件中
Just write the silent trigger into your batch file
msiexec /i YOURPACKAGE.msi /qn
这篇关于运行exe文件背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文