Log in

View Full Version : How to change the icon of unins000.exe?


nizcoz
14-06-2017, 05:24
I am trying to use resourcehacker (setup.e32) but it does not work. I can set a different icon to uninstaller shortcut but not for unins000.exe (has the same icon as the executable of my game).

78372
14-06-2017, 05:35
Head to the setup section of your script and write this line

UninstallIconFile=C:\icon.ico(Change with your icon name/dir)

nizcoz
14-06-2017, 06:05
Head to the setup section of your script and write this line

UninstallIconFile=C:\icon.ico(Change with your icon name/dir)

I am trying to change the icon at the last version of Inno Setup.

78372
14-06-2017, 06:11
It works in the latest versions of inno setup

nizcoz
14-06-2017, 06:25
It works in the latest versions of inno setup

No.

http://www.jrsoftware.org/ishelp/index.php?topic=setup_uninstalliconfile

[Setup]: UninstallIconFile
Description:

Obsolete in 5.0.0. As Setup and Uninstall have been merged into a single executable, setting a custom icon for Uninstall is no longer possible.

KaktoR
14-06-2017, 06:49
NOt possible to change icon via code?

78372
14-06-2017, 07:33
No.

http://www.jrsoftware.org/ishelp/index.php?topic=setup_uninstalliconfile

[Setup]: UninstallIconFile
Description:

Obsolete in 5.0.0. As Setup and Uninstall have been merged into a single executable, setting a custom icon for Uninstall is no longer possible.

Then try to use UninstallDisplayIcon

nizcoz
14-06-2017, 12:43
Then try to use UninstallDisplayIcon

Not work to this.


http://www.jrsoftware.org/ishelp/index.php?topic=setup_uninstalldisplayicon

[Setup]: UninstallDisplayIcon
Description:

This lets you specify a particular icon file (either an executable or an .ico file) to display for the Uninstall entry in the Add/Remove Programs Control Panel applet. The filename will normally begin with a directory constant.

If the file you specify contains multiple icons, you may append the suffix ",n" to specify an icon index, where n is the zero-based numeric index.

If this directive is not specified or is blank, Windows will select an icon itself, which may not be the one you prefer.

KaktoR
14-06-2017, 12:51
This should work

UninstallDisplayIcon={app}\UninstallIcon.ico

edit: nvm haven't read carefully. Sorry ^^