Windows: Make Exe from Sikuli script --- not possible

Asked by Yashaswi Singh

Can anyone help me build the exe from the sikuli script I have made?
I have been searching for a way and Launch4j is not working for me.
I just need a step by step guide to making an exe (or any other simple way of sharing my script).
Please help me

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#1

Are you looking for How to run SikuliX from Command Line ?
http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html

Revision history for this message
RaiMan (raimund-hocke) said :
#2

It is not (and will most probably never be) possible to make a compound, self-contained and self-running EXE from a .sikuli script.
Even Launch4J does not have appropriate features, to support that.

The only possibility is based on comment #1 and tools, that allow to turn a batch file with its resources into an EXE. But this will always need a prior setup of Sikuli(X) on the target system.

Revision history for this message
Yashaswi Singh (yaya-xv) said :
#3

My main motive for this is security of my script, that nobody else can see or change it if I give it to others for using it, that's why I was looking for a way to make a runnable or executable out of my script

Revision history for this message
RaiMan (raimund-hocke) said :
#4

ok, understood.

... but simply zipping the stuff in a standard way does not help here anyways.

Have a look at this:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#setup-a-jython-environment

Can you help with this problem?

Provide an answer of your own, or ask Yashaswi Singh for more information if necessary.

To post a message you must log in.