jobobbo Posted August 6, 2007 Share Posted August 6, 2007 Hey all,I've got an unattended Windows XP install disc i've been working on. One of the last things that still annoy me about it is the mid-point windows setup "wizard" where you set up networking, etc. I created a nice GUI in AutoIt v3 (3.2.5.1) to allow the user to select all of those options when just starting out (still in interactive mode, right after the text-setup portion), but when I try to run it from my "presetup.cmd" batch file it doesn't run and gives me the error message "The system cannot execute the specified program." with error code 9020.Next, I tried a very simple one line script (just a MsgBox() command), and recieved the same errorNext I tried making another simple and another complex script in AutoIt2 and both ran as expected in the limited pre-windows-setup enviromentI found very few references to this error:http://www.autoitscript.com/forum/lofivers....php?t8065.htmlAnd here (my specific problem):http://www.msfn.org/board/index.php?showto...mp;#entry263608Does anyone know the differences between the two AutoIt versions that would cause v2 to work and v3 to not. I was thinking it may be a dll problem also, like here:http://blogs.msdn.com/nikolad/articles/427101.aspxI used dependency walker on both simple scripts and came up with these results:* testv2.exe:kernel32.dlladvapi32.dllcomdlg32.dllgdi32.dllshell32.dlluser32.dll* testv3.exe:kernel32.dlladvapi32.dllcomctl32.dllcomdlg32.dllgdi32.dllmpr32.dllole32.dlloleaut32.dllshell32.dlluser32.dllversion.dllwinmm.dllwsock32.dllObviously, there a few more dependency dlls to the version 3 script. Is there some way I can load them? The easy way to get around my whole problem is to just use AutoIt2, but I really need the GUI functions from AutoIt3.Thanks,oo Link to comment Share on other sites More sharing options...
lod3n Posted August 6, 2007 Share Posted August 6, 2007 3.2.4.9 is the latest release version, 3.2.5.1 is the latest beta version. Have you tried the same thing in 3.2.4.9 release? Another problem is that the GUI subsystem might be different in a PE environment. Are you using WinPE or BartPE? [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
jobobbo Posted August 6, 2007 Author Share Posted August 6, 2007 Yes, I know 3.2.5.1 is (latest) beta. I have also tried the stable 3.2.4.9 as well as numerous other previous versions of AutoIt3. I am not using a PE environment, but I saw a post wherein someone had the same sort of trouble. My environment is during (actually, right before) windows setup executable is run ("setup.exe" from the cabbed "setup.ex_" in the I386 folder). I tried another program without ANY GUI subsystem whatsoever (assign a variable and exit) and it still has the same error as before, leading me to believe that even the simplest AutoIt3 program requires a DLL that isn't initialized/present at runtime. Link to comment Share on other sites More sharing options...
lod3n Posted August 6, 2007 Share Posted August 6, 2007 This is most likely a developer question. Try posting this in AutoIt Feature Requests (but not Bug Reports, as AutoIt is not designed with a PE environment in mind.) [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 6, 2007 Moderators Share Posted August 6, 2007 leading me to believe that even the simplest AutoIt3 program requires a DLL that isn't initialized/present at runtime.Seeing as the script is a windows based interpreted language, that makes perfect sense to me. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
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