Sign in to follow this  
Followers 0
grimmlock

Error compiling script

8 posts in this topic

Just installed the newest build of Autoit. I went to compile a script I was working on (made some changes) and I received this error (also see attachement) both using sciTE Editor or the Au2EXE v3 compiler.

"Aut2exe Error:

Error: Unable to add resources:

C:UsersusernameAppDataLocalAutoit v3Aut2EXEautD234.exe"

Any help would be appreciated.

Thanks Grimm

post-76479-0-01669300-1387902793_thumb.p


Thanks

Grimm

Share this post


Link to post
Share on other sites



My apologies what do you mean by AV?

Thanks

Grimm


Thanks

Grimm

Share this post


Link to post
Share on other sites

grimmlock,

AV = AntiVirus

It seems that a few people are having problems with AV alerts when compiling with 3.3.10.0 as the compilation method has changed. :(

You may need to add your UserNameAppdataLocalAutoit v3Aut2Exe folder to your AV exception list. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

My brain is not working (I think it is on vacation). I am using ESET and I will add UserNameAppdataLocalAutoit v3Aut2Exe to my exceptions list.

Thanks M23


Thanks

Grimm

Share this post


Link to post
Share on other sites

That worked, I am getting some wierd error calling functions but adding the UserNameAppdataLocalAutoit v3Aut2Exe to my exceptions list worked great.

Thanks!!!


Thanks

Grimm

Share this post


Link to post
Share on other sites

Thanks for the post and thank you Melba23.  My same problem is solved also!

REB


MEASURE TWICE - CUT ONCE

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Compilling Error with Aut2Exe v3.3.10.2 on Win7x64.  : Unable to add resources.%LOCALAPPDATA%AutoItv3Aut2ExeautB39F.tmp.exe Add UserNameAppdataLocalAutoit v3Aut2Exe folder to AV exception list resolve error.

In compiled file with Aut2Exe v3.3.10.2 not showing file version as before was? x64 compression does not work, though stated with the new UPX v3.91?

Edited by Jekov

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

  • Similar Content

    • WoodGrain
      By WoodGrain
      Hi All,
      I'm using UseTraySetIcon("shell32.dll", xx) to set my tray icon to a specific icon while running, is there a way I can specify this icon when I compile my script into an exe so my exe icon is the same?
      Thanks!
    • 9252Survive
      By 9252Survive
      Hello Guys, 
      Is there a way to have Auto it Exe messages/line number when you hover over the tray icon just at it shows when you run Au3.?
      For an example, if I the script has paused due to WinWait or Sleep I could hover over the icon and it shows the line where it's at. Is there a way to achieve the same with the compiled exe? 
      Many thanks for the help! 
       
    • Daka
      By Daka
      Hello there,
       
      When I compile script and use it out of the map where 
      the source code is. So just moving main.exe to
      other map, then source code is.
      It breaks with error:
      Line10010
      Error: Subscript used on non-accessible variable

      So I wonder what kind of file do I need to 
      include with .exe file? Or should I do something else?

      Because people that are using needs only .exe file
      just start it and use it, with out source code.

       
    • musicstashall
      By musicstashall
      Excuse me, I did not understand how in the function of Main I can include hundreds of functions of my executable code ?? How to implement this?
    • JohnNash
      By JohnNash
      Weird story. Been using Autoit for more than a year now. But recently moved to a new machine, so did a fresh install, and suddenly I saw menus I never saw before in the editor.
      For example, I Always used to have: Tools>Compile and then it would compile my au3 code. Now, the tools menu has a lot of options but after pressing Compile it goes to a whole new screen specifically for au3 code to select more options, also it debugs my code, which prevents compiling if badly coded.
      Of course this is fine, but I would really like to recompile some old crappy code I wrote, regardless of the mistakes that are still in there, also I am really used to the old setup I had,
      so kind of not done, but how do i get this 'bad'  configuration back? Does it have to do with the au3.properties file? What should I do with it....
      Thanks