Oferv
14 years agoSuper Contributor
MSI file is not running and popup an error message
Hi,
I'm trying to run an msi file using script i copied from your website.when i'm running the script on my local machine the script is running properly but,when i run it on a vmware i'm getting the following error - see attached.
the function:
User = Sys["UserName"]
var MSIpath = "C:\\Users\\" + User + "\\Downloads\\xxx.msi";
if(TestedApps.Find("msiexec.exe") == -1)
{
TestedApps.Add(msiexec.exe, "/i " + MSIpath);
}
Delay(5000)
TestedApps.msiexec.Run();
Delay(3000)
why do i get the error?
thanks
I'm trying to run an msi file using script i copied from your website.when i'm running the script on my local machine the script is running properly but,when i run it on a vmware i'm getting the following error - see attached.
the function:
User = Sys["UserName"]
var MSIpath = "C:\\Users\\" + User + "\\Downloads\\xxx.msi";
if(TestedApps.Find("msiexec.exe") == -1)
{
TestedApps.Add(msiexec.exe, "/i " + MSIpath);
}
Delay(5000)
TestedApps.msiexec.Run();
Delay(3000)
why do i get the error?
thanks