Jump to content

Recommended Posts

Posted

I've seen this just a few times, but for the life of me I can't recall how I resolved this. My script passes syntax checking but when it comes to building the executable I see:

!>20:52:52 Aut2exe.exe encountered an error ended with error:   Error adding file:  OAER_RAW_SRC.tmp .rc:2
!>20:52:52 Target exe is not created, abandon build.rc:2

Any ideas? Has anyone else seen this, and if so, have you found a solution?

Thanks!

Posted
  On 3/27/2020 at 1:17 AM, Danp2 said:

Haven't seen that one before. Have you ruled out AV interference?

Expand  

Yes, I learned long ago how AV and other security software can mess with Aut2exe in particular, so I checked that first. It still happened even with my firewall disabled. And one of the first things I did after this fresh install of Win 10 1909 was to disable Windows firewall, Windows SmartScreen, and all other Microsoft security products.

Another thing I learned long ago was that I would forget that another instance of my script.exe was still running, so Aut2exe couldn't overwrite it.  But that's not the case now, either.

I also tried rebooting, since we all know that weird but temporary data corruption can cause inexplicable weirdness, but that didn't work either.

Posted

OK, I found a solution. I searched for the string "OAER_RAW_SRC.tmp", and found a reference to that here: OnAutoItErrorRegister

So it wasn't much of a surprise that I had just started trying to use that UDF in my script!

Thanks very much for your fast replies, @Danp2 !

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...