Page 1 of 1

Running Ranorex 7 without installation

Posted: Fri Apr 28, 2017 9:35 am
by Andymann
Hi everyone,

I did this with Ranorex 6.2: Running Testcases without a Ranorex-Installation by copying the *.dll files from an installation's folder, etc, etc.. (can't find the corresponding post)-

On a first look this doesn't seem to work with Ranorex 7.0. Am I right? Are there any changes for 7.0 in order to run testcases without installation?

Best regards,
Andy

Re: Running Ranorex 7 without installation

Posted: Fri Apr 28, 2017 2:25 pm
by qwertzu
Hello Andymann,

Usually, this should still work.
Just copy all Ranorex DLL's from the "Program Files\Ranorex*\bin" to your output folder.
Afterwards, copy a valid floating license to your output folder.
So this folder should contain the following files:

Ranorex3_Server.lic
All dlls
test.exe

Please check if the prerequisites are installed on the machine where you want to execute Ranorex without a runtime installed. Therefore take a look at the following documentation http://www.ranorex.com/support/user-gui ... ments.html

regards,

qwertzu

Re: Running Ranorex 7 without installation

Posted: Fri Apr 28, 2017 2:38 pm
by odklizec
Hi,

Just a small correction, the license file is Ranorex3_Server.lic and not Ranorex2_Server.lic. A detailed steps how to run tests without installing Ranorex is here:
http://www.ranorex.com/support/user-gui ... yment.html

Re: Running Ranorex 7 without installation

Posted: Thu May 04, 2017 9:37 am
by franciaa
qwertzu wrote: Afterwards, copy a valid floating license to your output folder.
So this folder should contain the following files:

Ranorex3_Server.lic
All dlls
test.exe
Hello,

Where do I find this file? So far,the only license I know of is when I input the server address on the Ranorex License manager.I also can't run anything on a machine without Ranorex ever since I upgraded to Ranorex 7.0.

Re: Running Ranorex 7 without installation

Posted: Thu May 04, 2017 11:09 am
by odklizec
Typically, it's located here:

Code: Select all

C:\Users\All Users
But it's hidden folder, so you may need to enable displaying "hidden items" in windows explorer.

Re: Running Ranorex 7 without installation

Posted: Fri May 05, 2017 3:31 am
by franciaa
Hello odklizec,

I already found the license file but instead it's in this folder:

Code: Select all

C:\ProgramData
I forgot to mention that I am currently using a Windows 10 machine.
Thank you!

Re: Running Ranorex 7 without installation

Posted: Mon May 08, 2017 3:36 am
by franciaa
Hello again

I still can't run on the machine without ranorex installed i've already copied all dll's and also copied the ranorex license file.
This is the error:
[img]ranorex7_error.png[/img]

Re: Running Ranorex 7 without installation

Posted: Mon May 08, 2017 1:36 pm
by krstcs
Unless there is a REALLY GOOD reason for not installing Ranorex, you should install it on the system using Ranorex-7.0.1.exe. This will ensure that everything is installed correctly.

There error you are seeing means that there is something missing from your system that Ranorex requires. Either this is a Ranorex file that you missed, or it's the prerequisites that you MUST install on the system anyway.

Re: Running Ranorex 7 without installation

Posted: Mon May 08, 2017 4:45 pm
by ahoisl
Looks to me as if one of the C++ Runtime Redistributable packages is missing, which is a prerequisite to running Ranorex. Most probably, the C++ 15 Runtime package, which is a new prerequisite since Ranorex 7.0.

Theoretically, you can also "extract" the contents of those packages and copy everything to the target bin directory (see this blog). However, this is a package delivered by Microsoft that we don't have influence on, so I can't say if this does work or will work in the future - so you are possibly better of to install this package. Furthermore, with 7.1 this will be the only C++ Runtime Redistributable package you need to install (currently, Ranorex 7.0 depends on 3 different versions; we are working on moving everything to one runtime version).

Regards,
Alex
Ranorex Team