简体   繁体   中英

How to change Uninstaller icon in NSIS?

I have a file compiled with NSIS.

Since MUI_ICON is used, after executing the installer file, the desired icon is displayed in the progress stage,

If you use MUI_UNICON, the desired icon is displayed in Add/Remove Programs.

However, an executable file and Uninstall.exe were created using the Installer, but

This Uninstall.exe shows the default icon for NSIS, not the one I intended.

Default icon: modern-uninstall-colorful.ico

How can I change this default icon at build time?

MUI_UNICON is correct and will change the uninstaller.exe icon.

If you see the wrong icon in Explorer then that is because it is caching the old icon. Rename your.exe and it should show the new icon. You can verify the icon by looking at the resources with Resource Hacker ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM