App not found Windows 8.1

Asked by Shawn Robertson

I have Sikuli R930 installed on Windows 8 Enterprise x64 currently.

I have a script that installs software and it is not seeming to work properly.

I have 2 App open commands and one works fine and the other just never works.

the one that works fine is this:

Settings.tscode = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, "utilities", "TSCodes.exe"))

When this is called it opens a code generator application no problem

The one that does not work is this:

Settings.tssetup = App(os.path.join(r"\\tsarchive", "Storage", "Timeslips", "Installations", Settings.tsVersion, Settings.tsBuild, "setup.exe"))

It never opens and says App not found.

Same exact script works perfectly on Windows 7 Pro x64

even if I dumb the APP open command to this:

tssetup = App(r'"c:\BUILD\Setup.exe"')

and call tssetup.open()

it says App not found.

If i dumb down the App that does work TSCODE to this:

TSCode = App(r'"c:\BUILD\TSCode.exe"')

i'm looking right at the setup.exe in the C:\build folder. Why cant it find it? WHy does Sikuli have no problem opening one app but not another?

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
RaiMan (raimund-hocke) said :
#1

I just made some tests with my Win7-64 and the new version 1.0.1 (nothing changed in this area against RC3).

I cannot reproduce this problem.

The string given with App("some program") is directly and unchanged given to the Windows API call CreateProcess
(http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx)
at app.open() as the second parameter lpCommandLine

Currently I have no means to check this further.

Feel free, to post a bug.

Revision history for this message
Shawn Robertson (shawn-robertson) said :
#2

I will continue to keep poking at it and see what else I can find before entering any type of bug reports. i want to rule out any other possibilities first. Thanks Raiman!

Can you help with this problem?

Provide an answer of your own, or ask Shawn Robertson for more information if necessary.

To post a message you must log in.