Sikuli Project deployment on windows machines without Sikuli installed --- not possible

Asked by Maurice Richard on 2017-02-14

Hello,

I'm new to Sikuli, and not terribly technical so please bear with me.
I'm liking Sikuli so far, but I'm a little confused about deploying a project.

How could I deploy a project on a Windows 7 PC that doesn't have Sikuli installed?
I've gone through the forums and documentation but can't figure it out.

Any help is appreciated.

Thanks!
Moe

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2017-02-24
Last query:
2017-02-24
Last reply:
2017-02-19
Best RaiMan (raimund-hocke) said : #1

To run any SikuliX stuff, you always need SikuliX and Java being installed on that machine.

Maurice Richard (flashfires) said : #2

Hi RaiMan,

Thanks for the quick response! So I'll need to install Sikuli on the target machine & Java as well.
Ok, I can do that.

But how does one deploy this exactly. I don't want the user messing with Sikuli.
I'd prefer for them to be able to just click an icon and run the project.

Thanks!
Moe

TestMechanic (ndinev) said : #3

If you need to deploy sikuli script with all required elements you will need more technical experience.
Here is what I would do:

1. Get familiar with sikuli console installation options
2. get familiar with java console installation options
3. create a batch file for windows that deploys all necessary things for you
Or use some free software installer products

Hope this helps

Maurice Richard (flashfires) said : #4

Thanks for the tips Dinev, it's appreciated!

Here's the steps I specifically used to get this working.

1) Install Sikuli on the target machine
2) Install Java on the target machine
3) Moved the Sikuli project folder to the Sikuli installation folder
3) Create a batch file to fire up the app

The batch file script will look something like this:
C:\Sikuli\runsikulix.cmd -r C:\Sikuli\ProjectFolderName\ProjectName.sikuli

Maurice Richard (flashfires) said : #5

Thanks RaiMan, that solved my question.