Doniel Posted March 6 Share Posted March 6 Hello, I am having trouble compiling my script to an .exe an updating the metadata on it. This is my system Info: AutoIt Version: V3.3.16.1 [X64] Windows Version: WIN_11 [X64] Language: German (0407) Usually I use these directives for the AutoIt3Wrapper: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=..\..\Icons\DaH.ico #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Res_Description=XXX #AutoIt3Wrapper_Res_Fileversion=4.0.0.13 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Res_ProductName=XXX #AutoIt3Wrapper_Res_CompanyName=XXX #AutoIt3Wrapper_Res_LegalCopyright=XXX #AutoIt3Wrapper_Res_Language=1031 #AutoIt3Wrapper_AU3Check_Stop_OnWarning=y #AutoIt3Wrapper_Run_After=Path to sign #AutoIt3Wrapper_Run_After=Path to timestamp #AutoIt3Wrapper_Run_Tidy=y #Tidy_Parameters=/reel #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/pe /sv /rsln /mi 10 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** But trying to compile any script with these by pressing CTRL+F7 or just F7 results in this error message: [...] >11:12:40 Performing the Program Resource Update steps: ...>Updating Program Version information. !>11:12:40 Error: EndUpdateResource: Returncode = 0 - LastError:5:Zugriff verweigertrc:2 !>11:12:40 Error: Program Resource updating Failed. The output program will not contain the Resource updates!rc:2 "Zugriff verweigert" meaning "Access denied". I broke down the problem to be any "#AutoIt3Wrapper_Res_" command. So compiling this code gives me the same error message as above: #AutoIt3Wrapper_Res_Description=Description MsgBox(1,"Test","Message") I also get this pop-up the same time as I get the errors written in the console: If I click "Continue anyway", the .exe gets created but is missing the description I declared with "#AutoIt3Wrapper_Res_Description=Description". I checked "C:\Users\<Username>\AppData\Local\AutoIt v3\Aut2exe\" and the file is there and existing. I also deleted all the files there once with no change. I uses Procmon.exe to check for more details and this seems to be the showstopper: Sadly, this is where my knowledge ends and where I am asking for your help to find a solution for this problem. Kind Regards. “It is only when a mosquito lands on your testicles that you realize there is always a way to solve problems without using violence.” ― Confucius Link to comment Share on other sites More sharing options...
Nine Posted March 6 Share Posted March 6 Works for me. Do you have full version of Scite ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Doniel Posted March 6 Author Share Posted March 6 52 minutes ago, Nine said: Works for me. Do you have full version of Scite ? Yes I do. I downloaded and installed the SciTE4AutoIt3.exe. “It is only when a mosquito lands on your testicles that you realize there is always a way to solve problems without using violence.” ― Confucius Link to comment Share on other sites More sharing options...
Solution ioa747 Posted March 6 Solution Share Posted March 6 tell the antivirus to make an exception on the path C:\Users\<Username>\AppData\Local\AutoIt v3\ I know that I know nothing Link to comment Share on other sites More sharing options...
Doniel Posted March 6 Author Share Posted March 6 1 hour ago, ioa747 said: tell the antivirus to make an exception on the path C:\Users\<Username>\AppData\Local\AutoIt v3\ I'll see what I can do and get back with the result “It is only when a mosquito lands on your testicles that you realize there is always a way to solve problems without using violence.” ― Confucius Link to comment Share on other sites More sharing options...
Doniel Posted March 8 Author Share Posted March 8 Microsoft Defender didn't like the temporary .exe being created. Now it works again. Thanks for the help! argumentum and ioa747 2 “It is only when a mosquito lands on your testicles that you realize there is always a way to solve problems without using violence.” ― Confucius 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