[request] IDE: It could be generated to excutable files(*.exe)

Bug #667568 reported by hongyu315
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Wishlist
RaiMan

Bug Description

Sikuli Version 0.10.2
Windows 7 32-bit
Java 1.6.0_40

It could be generated to excutable files(*.exe) not only (.skl) file .

Till now i need to install all program like Sikuli Version 0.10.2 / Java 1.6.0_40 to support the excutable (.skl) file , I think this is not good to to transplant for end user .

Tags: ide
Revision history for this message
RaiMan (raimund-hocke) wrote :

Yes, in the moment, the JRE is always needed to run Sikuli.

On Mac and Windows (use the portable version) (I'm not that Linux expert, but should be as easy as on Mac), it is no problem to pack everything needed together in a zip file, add a basic setup script and give it away. At least it should be achievable (but not really needed) to have some shortcuts on the desktop, that allows the user to just doubleclick and have fun with Sikuli.

On Windows (no need on Mac - everything is there ;-) you could even add a portable version of java to your package.

I have such a package on a stick, to carry it around for Windows.

Revision history for this message
hongyu315 (hong-yu) wrote : Re: [Bug 667568] Re: Suggestion : It could be generated to excutable files(*.exe)
Download full text (3.7 KiB)

Hi ,

Thanks for your reply .

I have heard that sikuli could be packed into a .bat file , but in my
system 0.10.2 it unable to do .

On Windows (no need on Mac - everything is there ;-) you could even add
a portable version of java to your package.

I have such a package on a stick, to carry it around for Windows.

===>>> So could you please send me a address to download that package ? I
really want to run my sikuli scripts on many other testing system . Thank
you !

Best Regards
SQA (CHF)
Hong Yu

Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.

             RaiMan
             <<email address hidden>
             m> To
             Sent by: <email address hidden>
             bounces@canonical cc
             .com
                                                                   Subject
                                       [Bug 667568] Re: Suggestion : It
             2010-10-28 17:16 could be generated to excutable
                                       files(*.exe)

             Please respond to
                Bug 667568
             <<email address hidden>
                chpad.net>

Yes, in the moment, the JRE is always needed to run Sikuli.

On Mac and Windows (use the portable version) (I'm not that Linux
expert, but should be as easy as on Mac), it is no problem to pack
everything needed together in a zip file, add a basic setup script and
give it away. At least it should be achievable (but not really needed)
to have some shortcuts on the desktop, that allows the user to just
doubleclick and have fun with Sikuli.

On Windows (no need on Mac - everything is there ;-) you could even add
a portable version of java to your package.

I have such a package on a stick, to carry it around for Windows.

--
Suggestion : It could be generated to excutable files(*.exe)
https://bugs.launchpad.net/bugs/667568
You received this bug notif...

Read more...

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: Suggestion : It could be generated to excutable files(*.exe)

I will write down some step by step doc and come back the next days.

On machines, that have the JRE installed, just carry around the portable version of Sikuli, that you may enhance with some cmd-files.

Revision history for this message
hongyu315 (hong-yu) wrote : Re: [Bug 667568] Re: Suggestion : It could be generated to excutable files(*.exe)

Hi ,

Thanks for your reply .

Good news to hear that you will write down some step by step doc , that
will helpful for me .

Could you please send me a copy of that when you are ready ? I can share
your doc with my team .

Thank you .

Best Regards
SQA (CHF)
Hong Yu

Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.

             RaiMan
             <<email address hidden>
             m> To
             Sent by: <email address hidden>
             bounces@canonical cc
             .com
                                                                   Subject
                                       [Bug 667568] Re: Suggestion : It
             2010-10-28 21:31 could be generated to excutable
                                       files(*.exe)

             Please respond to
                Bug 667568
             <<email address hidden>
                chpad.net>

I will write down some step by step doc and come back the next days.

On machines, that have the JRE installed, just carry around the portable
version of Sikuli, that you may enhance with some cmd-files.

--
Suggestion : It could be generated to excutable files(*.exe)
https://bugs.launchpad.net/bugs/667568
You received this bug notification because you are a direct subscriber
of the bug.

Status in Sikuli: New

Bug description:

Sikuli Version 0.10.2
Windows 7 32-bit
Java 1.6.0_40

It could be generated to excutable files(*.exe) not only (.skl) file .

Till now i need to install all program like Sikuli Version 0.10.2 / Java
1.6.0_40 to support the excutable (.skl) file , I think this is not good to
to transplant for end user .

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/sikuli/+bug/667568/+subscribe

ForwardSourceID:NT000098D6

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: Suggestion : It could be generated to excutable files(*.exe)

OK, here you are:

I'm using PortableApps.com to get it going.

1. have a stick ready (512MB minimum, 1GB is more comfortable) and activ

2. go to http://portableapps.com/, to find out, whats possible (not needed for the following)

3. download the PortableApps framework from: http://downloads.sourceforge.net/portableapps/PortableApps.com_Platform_Setup_1.6.1.exe
(the downloads need not be on the stick)

4. install it to the stick's root dir via double click

5. when finished, there is a StartPortableApps.exe at the root level. This should be used in the next steps when I say "Start PortableApps"

6. download portable Java from: http://downloads.sourceforge.net/portableapps/Java_Portable_6_Update_22_online.paf.exe
(this is the current newest

7. Start PortableApps -> Menu Options -> Install a New App -> find your downloaded java and select it -> click ok (you may know the process from a normal java install). Since you install from inside PortableApps, everything runs automatically.
You may close PortableApps now. For the following steps it is not needed.

8. unzip the portable Sikuli version to a folder on the stick (root level is ok, name it what you like e.g. Sikuli)

9. open the dir Sikuli and delete Sikuli-IDE.exe (not needed with the portable version, so it makes no problems)

10. modify the Sikuli-IDE.bat:
  --- delete the line: if defined .... (no need for 64-Bit)
  --- modify: set JAVA_EXE="\PortableApps\CommonFiles\Java\bin\java"

11. for convenience place a link to this bat in the sticks root dir

12. In the explorer go to the sticks root dir and doubleclick the Sikuli-bat-link

A commandline window should open and the Sikuli-IDE should come up.

If you want to run a script from command line, open a command window in the context of the stick (e.g. a link on the sticks root level running c:\Windows\System32\cmd.exe with a blank working directory or open a command window and go to your sticks drive letter).
On the command line say:
Sikuli\Sikuli-IDE.bat <options> <full-path-to-your-Sikuli-script> <additional arguments>

As with the cmd.exe, you may place more links in the sticks root dir, that are already configured to run a special script using the above construct as a parameter to cmd.exe.

Or use the approach, I just figured out at https://answers.launchpad.net/sikuli/+question/131671

I'm just on the way, to figure out how to fully integrate running Sikuli-IDE and scripts directly form the PortableAppsMenu.

Revision history for this message
hongyu315 (hong-yu) wrote : Re: [Bug 667568] Re: Suggestion : It could be generated to excutable files(*.exe)
Download full text (5.1 KiB)

Wonderful !

Well done ! Thanks a lot .

Best Regards
SQA (CHF)
Hong Yu

Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.

             RaiMan
             <<email address hidden>
             m> To
             Sent by: <email address hidden>
             bounces@canonical cc
             .com
                                                                   Subject
                                       [Bug 667568] Re: Suggestion : It
             2010-10-29 19:20 could be generated to excutable
                                       files(*.exe)

             Please respond to
                Bug 667568
             <<email address hidden>
                chpad.net>

OK, here you are:

I'm using PortableApps.com to get it going.

1. have a stick ready (512MB minimum, 1GB is more comfortable) and activ

2. go to http://portableapps.com/, to find out, whats possible (not
needed for the following)

3. download the PortableApps framework from:
http://downloads.sourceforge.net/portableapps/PortableApps.com_Platform_Setup_1.6.1.exe

(the downloads need not be on the stick)

4. install it to the stick's root dir via double click

5. when finished, there is a StartPortableApps.exe at the root level.
This should be used in the next steps when I say "Start PortableApps"

6. download portable Java from:
http://downloads.sourceforge.net/portableapps/Java_Portable_6_Update_22_online.paf.exe

(this is the current newest

7. Start PortableApps -> Menu Options -> Install a New App -> find your
downloaded java and select it -> click ok (you may know the process from a
normal java install). Since you install from inside PortableApps,
everything runs automatically.
You may close PortableApps now. For the following steps it is not needed.

8. unzip the portable Sikuli version to a folder on the stick (root
level is ok, name it what you like e.g. Sikuli)

9. op...

Read more...

Changed in sikuli:
importance: Undecided → Wishlist
RaiMan (raimund-hocke)
summary: - Suggestion : It could be generated to excutable files(*.exe)
+ [request] It could be generated to excutable files(*.exe)
RaiMan (raimund-hocke)
summary: - [request] It could be generated to excutable files(*.exe)
+ [request] IDE: It could be generated to excutable files(*.exe)
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
assignee: nobody → RaiMan (raimund-hocke)
tags: added: ide
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Wishlist → Low
milestone: none → x1.1
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Low → Wishlist
milestone: 2.0.0 → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.