0
i kendi guid değerini biliyorsanız ben C#C# ile bir argüman iletilmesi programı guid ile msiexec kullanarak Program kaldır Nasıl
public void msi(string path)
{
//get msiexec.exe /X{GUID} from path
int slash = path.IndexOf(@"/");
//get the substring as /I{GUID}
String value = path.Substring(slash, (path.Length) - slash);
MessageBox.Show(value);
Process process = new Process();
process.StartInfo.FileName = @"msiexec.exe";
process.StartInfo.Arguments = string.Format(value);//Error is in this line
//`i just want to know how to pass the agrument to msiexec from c#`
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardInput = true;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.CreateNoWindow = false;
process.Start();
process.WaitForExit();
}
için çalışıyor? Msiexec/x {guid} 'https://support.microsoft.com/tr-tr/kb/296067 – hometoast
msiecec ile C# 'ı çağırmak ve kaldırma değerini – toorroot
argüman olarak göndermek istiyorum. Ayrıca, bize yolun ne olabileceğine dair bir örnek verin. –