Hi all,
Here my code ,i tried to execute msi file but it didnt work for me,
System.Diagnostics.ProcessStartInfo proc = new System.Diagnostics.ProcessStartInfo(@"msiexec.exe");
proc.WorkingDirectory = @"c:\windows\system32\";
proc.Arguments = "/passive /i " + @"C:\TEMP\MySetup.msi";
proc.UseShellExecute = false;
proc.UserName = myusername;
proc.Password = mypassword
Process p = Process.Start(proc);
and my question is ,
how can i execute msi file with administrator password , from restricted user account?
is it possible?
thanx...
Here my code ,i tried to execute msi file but it didnt work for me,
System.Diagnostics.ProcessStartInfo proc = new System.Diagnostics.ProcessStartInfo(@"msiexec.exe");
proc.WorkingDirectory = @"c:\windows\system32\";
proc.Arguments = "/passive /i " + @"C:\TEMP\MySetup.msi";
proc.UseShellExecute = false;
proc.UserName = myusername;
proc.Password = mypassword
Process p = Process.Start(proc);
and my question is ,
how can i execute msi file with administrator password , from restricted user account?
is it possible?
thanx...