Guest DJ Flux Posted September 30, 2005 Posted September 30, 2005 We are testing Windows Server 2003 x64 edition and our automated installation uses AutoItX for a lot of automated software installation. For some reason we receive an error when trying to instantiate an AutoItX.Control/AutoItX3.Control object in VBScript. Here's our code which runs fine on any 32-bit version of Windows: Set wshAutoIt = WScript.CreateObject("AutoItX3.Control") I receive an error stating that the object could not be created with an error code of 80040154. The control registers fine with regsvr32 and I've placed the DLL in all of the places I would think the OS would be looking for it (system32, SysWOW64, Windows, etc). The AutoItX(3) entries also show up in the registry under HKCR and HKLM\Software\Classes. Am I missing something? Will AutoItX not work on x64 OS's? Has anyone had any experience running AutoItX on an x64 version of Windows? Any help is much appreciated. Thanks, Andy.
Guest DJ Flux Posted September 30, 2005 Posted September 30, 2005 Replying to myself here ...It looks like one has to run the 32-bit version of WScript in order for it to access the 32-bit portion of the registry. Check out this blog:http://weblogs.asp.net/jkey/archive/2005/04/26/404642.aspxIf I execute my script with %WINDIR%\SysWOW64\wscript.exe then the AutoItX control object is instantiated just fine.Hopefully this thread will help someone since I could find anything on Google about AutoItX on the x64 version of Windows Thanks for the great product!Andy.
GaryFrost Posted September 30, 2005 Posted September 30, 2005 being your working with the AutoItX, think would be a good idea to post this in the v3 AutoItX area of the forum.Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now