Jump to content

Icon for compiled script disappears!


Recommended Posts

nope. just tested it on a clean vm with just exe. you need use the Compile in the Tools menu, go select the icon you need and it embeds it. if you compile from explorer context menu or otherwise, it probably won't embed the resource. go test it.

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Link to comment
Share on other sites

I've always had no issues with my icons. 
They reside in any folder and I have been able to port my programs onto any machine with any OS.

#AutoIt3Wrapper_Icon=..\..\Windows\Installer\{6E3610B2-430D-4EB0-81E3-2B57E8B9DE8D}\Bonjour.ico

Your code looks wrong though: #AutoIt3Wrapper_Icon=ICO NEO_LOGO.ico

Why not use the compiler to do this.
Tools > Compile
image.png.38be18c5f6a5ef2c175a32f664d74309.png

Kind Regards
Skeletor

"Coffee: my defense against going postal."

Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI

Link to comment
Share on other sites

Isn't it possible that the space messes things up?

Maybe this

#AutoIt3Wrapper_Icon="ICO NEO_LOGO.ico"
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

  • Developers

Ok, lets see what I have read here:

  • The OP says the ICO is correct on his/her own pc by doesn't work on another PC... Right?
  • In case of doubt just check by opening the compiled script with reshacker to check the attached ICO file.
  • In case the wrong ICO file is specified, not existing, a warning should be shown during compilation, so double check that too.

Jos

Edited by 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

  • Developers

So you had the same program on there before with another ICO and needed to refresh the cache...right?

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

Yes, that's correct, we had another ICO. I guess when in doubt shutdown and startup the tablets. Lol

 

Application compiled with a new ICO (Personal PC)

image.png.fcba10f0fcc60284253a72f671b3b44f.png

 

Application copied to the tablets. (Required us to reboot the windows 10 tablets to register the new icon)

5b4de82cc216a_Applicationcopiedfromtheshareddrivetothetablets.png.e0b36542189d1780339dd41a55c94c8f.png

Link to comment
Share on other sites

this in  a batch file fixes that problem. no reboot necessary on a pc anyway. just need to rebuild the icon cache

taskkill /f /im explorer.exe
cd /d %userprofile%\AppData\Local
del IconCache.db /a
start explorer.exe

this happens on almost every ms os, you install updates, icons don't show until reboot, or you do the above in a bat or on an admin cmdline

i see the cache problem all the time in testing

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Link to comment
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
 Share

  • Recently Browsing   0 members

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