Sign in to follow this  
Followers 0
EverChosen

Compiling Error.

6 posts in this topic

Hi all, I've recently come to start learning about AutoIt (its a great program btw :ph34r: ) 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? :lmao:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Welcome,

Hmm, is the file even there? :lmao:

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 by MHz

Share this post


Link to post
Share on other sites

I have the same problem.

Error: Unable to read in AutoIT stub file. (AutoItSC.bin). :lmao: 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 :ph34r:

Zorrinde

Share this post


Link to post
Share on other sites

I tried to run that script, but it came up production=false beta=false.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Hey thanks alot, that seemed to work. Hopefully it stays like that :lmao:.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0