AutoITLibrary and Windows 10

1,415 views
Skip to first unread message

Jerry S.

unread,
Dec 12, 2016, 6:40:36 PM12/12/16
to robotframework-users
Has anyone tried and successfully installed the AutoITLibrary for Robotframework?  I have tried installing to 32 and 64bit python installs without success. If it is working, we could really use this library right now.  Any help would be greatly appreciated.

From what I can tell, no work has been done on this library for the past 7 years
win32com from Mark Hammond no longer appears to be available
pip install -U robotframework-autoitlibrary results in "Could not find a version that satisfies the requirement robotframework-autoitlibrary (from versions: )
No matching distribution found for robotframework-autoitlibrary"

Here is what I am seeing when I try to install via command prompt

C:\Temp\AutoItLibrary-1.1>python setup.py install
Don't think we need to unregister the old one...
%SYSTEMROOT%\system32\regsvr32.exe /S C:\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll
Traceback (most recent call last):
  File "setup.py", line 70, in <module>
    subprocess.check_call(cmd, shell=True)
  File "C:\Python27\lib\subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '%SYSTEMROOT%\system32\regsvr32.exe /S C:\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll' returned non-zero exit status 5

This was a 32bit python install and pywin32 32bit installed.  The file "C:\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll" does exist

TIA,
Jerry S

teegee

unread,
Dec 12, 2016, 7:11:58 PM12/12/16
to robotframework-users
Hi Jerry,

I've successfully installed the AutoIT library on Windows 10 for python 2.7 and python 3.5 (32 and 64 bit). I've also written a test case that works with the windows 10 calculator but I haven't found the time to make it ready for a release.

I think the problem you're facing here is that you're trying to register a dll and you haven't run the installer as administrator.
If you're still getting the same error when running as admin, try running the command "%SYSTEMROOT%\system32\regsvr32.exe /S C:\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll" manually from an admin cmd prompt.

If you want to get the 64bit version working, you need to get yourself a copy of the autoIT library from their website and extract the 64bit dll and register it instead/as well.

I've attached the windows10 test case.
I'm happy to share my modifications if you or anyone else is interested in releasing a new version that covers python 3 and 64bit options.

Tom
Win10_Calculator_Test_Cases.robot

Jerry Schneider

unread,
Dec 13, 2016, 9:42:49 AM12/13/16
to thomas....@gmail.com, robotframework-users
Thanks Tom,

That appears to have gotten me installed.  I was able to run your testsuite, but got errors in the Suite Setup.  Will look into it, but I am at least running for now.  THANKS!!!

Jerry S
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

-- 
http://www.linkedin.com/in/jerryschneider
Linux registered user #475536
Ubuntu registered user #28583

nith p

unread,
Jul 11, 2019, 4:57:17 AM7/11/19
to robotframework-users
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

-- 
http://www.linkedin.com/in/jerryschneider
Linux registered user #475536
Ubuntu registered user #28583





Hi,

Could you please help me how you resolved the issue of AutoIT Library Installation. I m quite facing the same issue as you have described above. Could you also let me know the link for 64 bit installation file as well.
Reply all
Reply to author
Forward
0 new messages