サーバー、ルートパスワードなどの引数の事前定義された値によって、基本的なc#デスクトップアプリケーションから「appserv-win32-2.5.10.exe」をインストールする必要があります。事前定義された引数をインストールプロセス。問題は、このアプリケーション ''appserv-win32-2.5.10.exe'' の引数名を取得する方法です。
int exitcode;
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.CreateNoWindow = false;
startInfo.UseShellExecute = true;
startInfo.FileName = @"server\appserv-win32-2.5.10.exe";
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
/// startInfo.Arguments = "/s /v/qn"; // Arguments
using (Process exeProcess = Process.Start(startInfo))
{
exeProcess.WaitForExit();
exitcode = exeProcess.ExitCode;
MessageBox.Show("exitcode:" + exitcode);
}