EverChosen Posted October 17, 2006 Share Posted October 17, 2006 Hi all, I've recently come to start learning about AutoIt (its a great program btw ) my script runs fine, but i try to compile it to an .exe and i get an error. Aut2Exe Error Error: Unable to read in AutoIt stub file. (AutoItSC.bin). Can someone help me to fix this? Link to comment Share on other sites More sharing options...
MHz Posted October 17, 2006 Share Posted October 17, 2006 (edited) Welcome, Hmm, is the file even there? Run this to check Global $bin_beta = False, $bin_prod = False Global $reg_key = RegRead('HKLM\SOFTWARE\AutoIt v3\AutoIt', 'InstallDir') If Not @error Then If FileExists($reg_key) Then If FileExists($reg_key & '\Aut2Exe\AutoItSC.bin') Then $bin_prod = True EndIf If FileExists($reg_key & '\beta\Aut2Exe\AutoItSC.bin') Then $bin_beta = True EndIf EndIf MsgBox(0x40000, 'AutoItSC.bin', 'Production = ' & $bin_prod & @CRLF & _ 'Beta = ' & $bin_beta) EndIf Edited October 17, 2006 by MHz Link to comment Share on other sites More sharing options...
Zorrinde Posted October 17, 2006 Share Posted October 17, 2006 I have the same problem. Error: Unable to read in AutoIT stub file. (AutoItSC.bin). When i tried to make an .exe Yesterday I installed AutoIT V3 It alworks fine. Compiling worked fine too. Today the error occured. I must say I think it has to do something with AVG. That also starts today with the virus alert. Sometimes at the same time when i compile the AutoIT and AVG report an error and a Virus alert. Tried to reinstall AutoIT and stopped the AVG. No result only no Virus warnings Zorrinde Link to comment Share on other sites More sharing options...
EverChosen Posted October 18, 2006 Author Share Posted October 18, 2006 I tried to run that script, but it came up production=false beta=false. Link to comment Share on other sites More sharing options...
MHz Posted October 18, 2006 Share Posted October 18, 2006 I tried to run that script, but it came up production=false beta=false.Thanks. I would consider that of recent events occurring, that your Antivirus may have deleted the file. Try to install AutoIt again and see if it returns the AutoItSC.bin file. If your AV has updated definitions then the install may work good for you. Link to comment Share on other sites More sharing options...
EverChosen Posted October 18, 2006 Author Share Posted October 18, 2006 Hey thanks alot, that seemed to work. Hopefully it stays like that . 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