Page 1 of 1

Is it possible to embed the rximg file into the compiled exe

Posted: Mon Mar 27, 2017 2:23 pm
by DushkoJ
In my test suite I have a repository with a few images. When compiling the solution for distribution there's a folder being generated named RepositoryImages, and contains an .rximgres file.

Is it possible to avoid creating this folder and file and embed this content in the executable?

Using Ranorex 5.4.4

Re: Is it possible to embed the rximg file into the compiled exe

Posted: Tue Mar 28, 2017 3:17 pm
by asdf
Hi Dushkoj,

These files are needed, when performing a image based action. That means it wouldn't be the best idea to prevent this file to be created.
Furthermore, it is not possible to merge these files into the executable, since this would ruin your image based actions.

Hope this helps.

Re: Is it possible to embed the rximg file into the compiled exe

Posted: Tue Mar 28, 2017 3:24 pm
by krstcs
First, update to a current version of Ranorex. 5.4.4 is no longer supported. Currently supported versions are 6.1.1 and 6.2.1.

Second, it is not possible to embed the images in the exe file. If you need it all packaged up (such as a ZIP) you should do that right after you build it. This is pretty easily done if you are using a Continuous Integration solution like Jenkins. You can also do it using the POST BUILD action in the project's properties file.