user13746660
user13746660

Reputation:

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?

Upvotes: 0

Views: 772

Answers (1)

Anders
Anders

Reputation: 101569

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...

Upvotes: 0

Related Questions