MsiExec.exe /I{A52EEC0E-D0B7-4345-A0FF-574804C7B78A} /passive
{A52EEC0E-D0B7-4345-A0FF-574804C7B78A} --> is Product Code
If you want to completely hide the UI, use the
/quiet
(நீங்கள் முற்றிலும் UI மறைக்க விரும்பினால்)switch instead of
/passive
.Example C#
Process p = new Process();
p.StartInfo.FileName = "msiexec.exe";
p.StartInfo.Arguments = "/x {
A52EEC0E-D0B7-4345-A0FF-574804C7B78A
} /passive";p.Start();
OR
Process p = new Process();
p.StartInfo.FileName = "msiexec.exe";
p.StartInfo.Arguments = "/x {
A52EEC0E-D0B7-4345-A0FF-574804C7B78A
} /quiet
";p.Start();
Process p = new Process();
p.StartInfo.FileName = "msiexec.exe";
p.StartInfo.Arguments = "/qn /x {
A52EEC0E-D0B7-4345-A0FF-574804C7B78A
}";p.Start();
No comments:
Post a Comment