Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default exe file icon changing

Tags:

icons

autoit

I've read I have to add these lines into my .au3 file:

#Region
#AutoIt3Wrapper_Icon=C:\myicon.ico
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Fileversion=1.0
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Run_Obfuscator=y
#EndRegion

I've put myicon.ico into the C:\ directory.

Then I right click on my .au3 file and click Compile, everything is fine, but the default icon is still the AutoIT icon.

like image 785
Cyclone Avatar asked Dec 22 '22 03:12

Cyclone


1 Answers

This is one of the things that has bothered me about the compile process for quite a while. It doesn't work if you right click your file and 'Compile'.

You have to go via the Start menu > AutoIt v3 > Compile Script to .exe. Once you select your script, you will see your settings loaded into the GUI.

enter image description here

like image 91
Jos van Egmond Avatar answered Dec 28 '22 16:12

Jos van Egmond