AndyS19 Posted July 20, 2015 Share Posted July 20, 2015 From time to time, I get an error popup when compiling my script to exe (F7). "Unable to add resources" c:\users\andy\appdata\autoit v3\Aut2Exe\aut4760.emp.exeI've been working on my script for several days, compiling to exe from time to time to test the product to be released. It's been working OK up until now.When I get this error, I selectively remove these lines:#AutoIt3Wrapper_Icon=Analyze_HTTP.ico #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6After a few tries, the script compiles OK, but if I try several more times without changing anything, I get the error again.I'm running Windows 7 (32 bit), and Avast! antivirus. Link to comment Share on other sites More sharing options...
Developers Jos Posted July 20, 2015 Developers Share Posted July 20, 2015 Add the temp directory for AutoIt to the excluded directories for your Anty Virus: "c:\users\andy\appdata\autoit v3\Aut2Exe"Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
AndyS19 Posted July 21, 2015 Author Share Posted July 21, 2015 Thank you, that worked (I also had to restore upx.exe)Andy Link to comment Share on other sites More sharing options...
pellefsen Posted August 31, 2015 Share Posted August 31, 2015 I wish it worked for me I tried excluding the c:\Users\[me]\AppData\Local\Autoit v3 folder from SophosAV and from MalwareBytes (the only two AV products running on the machine). I even fully disabled them both, but I still cannot compile.I think I'm going to have to go back several versions until I find one that works. To 3.3.3.19 perhaps?Or is there a straightforward way to find out what is causing the fail? Link to comment Share on other sites More sharing options...
pellefsen Posted September 1, 2015 Share Posted September 1, 2015 Oops - who needs a dog or a cardboard cut-out to talk to when we have this forum?Turns out that the icon file was corrupt and that was what was triggering the 'unable to add resources'.Thanks for listening :-) ericbartha and willichan 2 Link to comment Share on other sites More sharing options...
Developers Jos Posted September 1, 2015 Developers Share Posted September 1, 2015 Good to know that can also trigger this error.Thanks for "talking to us" and sharing the information.Jos ericbartha 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
willichan Posted November 17, 2015 Share Posted November 17, 2015 @pellefsen,I've been going in circles, uninstalling and re-installing AutoIt and Kaspersky. Saw your note, and refreshed the icon file from an archive and am back in business. Thanks for the tip! My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash 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