Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Associating icon to Application in ADD/remove prog

1 reply to this topic


  • Full Members
  • 8 posts

Posted 05 August 2008 - 07:04

Hello All,
I am facing a problem while ,

associating the Icon to Application in Add /Remove Programs.

I tried to use action called "windows registry update" ,but it is not working.

I have found a way to do this manually, but it would be much nicer if IS did what it says it would do.

Does anyone know a trick on getting this Display Icon to work or is this a know issue with IS10.5?

Any hints are welcome sad.gif

Thanks in Advance

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 06 August 2008 - 15:07

First off, you posted this in the IS6 forum which is what I use. Not IS10.5. Therefore, I'll be moving this topic afterwards.

However, to answer your question, simply write the following string registry entry in the uninstall key of your project:
"DisplayIcon" = <IconPath>

Here's an example of how to do that in InstallScript code:
szARPIcon = TARGETDIR ^ "BIN\\icons\\thinkndo.ico";
nResult = RegDBSetKeyValueEx(szARPKey, "DisplayIcon", nvType, szARPIcon, -1);


By the way, this is also covered in my IS FAQ.

Edited by Taco Bell, 07 August 2008 - 14:53.

user posted image