Msiexec with Ranorex Runtime

Ranorex Spy, Recorder, and Studio.
Jeremie
Posts: 9
Joined: Thu Jul 21, 2011 9:18 am

Msiexec with Ranorex Runtime

Post by Jeremie » Mon Aug 22, 2011 7:45 am

HI

I don't know if the problem come to ranorex or other. But i need Help.

My test launch a .bat file contain msiexec Command

If i launch my test in Ranorex Studio, msiexec is ok and my test work good
When i launch my test with command line and use Ranorex Runtime, msiexec return this error

"msiexec is not recognized as an internal or external command. operableprogram or batchfile"

Msiexec is in System32

Any idea ?

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Msiexec with Ranorex Runtime

Post by Support Team » Mon Aug 22, 2011 10:22 am

Hi,
Jeremie wrote: "msiexec is not recognized as an internal or external command. operableprogram or batchfile"
Msiexec is in System32
Did you try to start the batch file as Administrator? Maybe the different security layer causes the issue.
So please try to start the batch file with administrator rights.
Another possible solution could be in following link
http://www.technologyquestions.com/tech ... aller.html

Regards,
Peter
Ranorex Team
.
Image

Jeremie
Posts: 9
Joined: Thu Jul 21, 2011 9:18 am

Re: Msiexec with Ranorex Runtime

Post by Jeremie » Tue Aug 23, 2011 10:09 am

OK, my bad

I Set one variable in batch file with name %path%
Bad idea in bat
It s change the default path for all command

sorry for bothering you an thanks for speed of answer.