In my code I'm calling msiexec twice. Once for installation and once for upgrade.
When I'm running msiexec via command line, the upgrade works fine and I can see that files are replaced.
But, when I run it via Ranorex, upgrade is finished sucessfully but files are not replaced!
I using the same syntax for both command line and Ranorex.
Process process = new Process();
process.StartInfo.FileName = "msiexec.exe";
if (bIsUpgrade == false)
process.StartInfo.Arguments = " /i \""+ msipath + "\" /qn";
process.StartInfo.Arguments = " /i \""+ msipath + "\" REINSTALL=ALL REINSTALLMODE=vomus /qn";
process.StartInfo.WorkingDirectory = @"C:\temp\";
process.StartInfo.Verb = "runas";
Class library usage, coding and language questions.
2 posts • Page 1 of 1