Run testedApp for msi - wait till the msi has been completed
I have to install an msi; I'm trying to simply do it by using the testedApps, but I'm not finding a way to wait that the msi is finished the installation.
The Run method doesn't wait that the tested app has finished the execution; in my case, the installation is finished when the msiexec process is terminated. How can I wait till the msi is finished?
This is my actual code:
let msiPath = "C:\\xxx\\";
let msiFileName = "xxx.msi";
TestedApps.Installation.Path = msiPath;
TestedApps.Installation.FileName = msiFileName;
Solved! Go to Solution.
What if you try WshShell.Run() ?
Return = WshShell.Run("msiexec /i /quiet " + msiFileName, 0, true);
/Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.