← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #153166]: VisionProxy.dll: This application has failed to start

 

Question #153166 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/153166

    Status: Needs information => Open

NMANOS gave more information on the question:
Yes, I'm adding the path-to-Sikuli-IDE/libs to the system PATH on the fly, in the following batch script - which can be run from Network location:
-----------
Set localDir=%~d0%~p0

:: Set Sikuli and Java Path
set requiredPathes=%localDir%..\Sikuli-X\libs;%localDir%..\jre6\bin\

For /F "Delims=" %%I In ('echo %PATH% ^| find /C /I "Sikuli"') Do set pathExists=%%I 2>Nul
If %pathExists%==0 (set PATH=%requiredPathes%;%PATH%)

:: Set Java
set JAVA_EXE="%localDir%\..\jre6\bin\java.exe"

:: Run Jython Script using sikuli-script.jar
call %JAVA_EXE% -cp "%localDir%..\Sikuli-X\sikuli-script.jar\;%CLASSPATH%" org.python.util.jython %localDir%src\alltestsuite.py
--------

But this only worked if I previously installed vcredist_x86.exe.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.