sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49434
Re: [Question #676337]: Running installer via App.open() command error.
Question #676337 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676337
Description changed to:
Microsoft Windows [Version 10.0.17134.407]
Sikuli 1.1.4 (201810311629)
java version "1.8.0_171"
I'm trying to run an installer on windows but I got an error - App.focus failed: no window error when using the following command:
App.open("D:\builds\vray_adv_40205_max2019_x64.exe")
(log exerp)----------------------------------------------------------------------------------------------------------------------
[user (11/24/18 10:22:16 AM)] Installing d:\builds\vray_adv_40205_max2019_x64.exe
[debug] App.create: [-1:vray_adv_40205_max2019_x64.exe]
[debug] App.open: [6500:vray_adv_40205_max2019_x64.exe (OleMainThreadWndName)] d:\builds\vray_adv_40205_max2019_x64.exe
[error] App.focus failed: no window for [6500:vray_adv_40205_max2019_x64.exe (OleMainThreadWndName)] d:\builds\vray_adv_40205_max2019_x64.exe
--------------------------------------------------------------------------------------------------------------------------------------
Despite that installer is successfully launched, but script is already
terminated.
If I run installer through terminal with following command everything works fine:
#App.open('CMD /C ' + "D:\builds\vray_adv_40205_max2019_x64.exe")
Any idea why this is happening?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.