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

Uninstall and ReplaceFolderIcon


3 replies to this topic

Greg102

Greg102
  • Members
  • 12 posts

Posted 10 February 2006 - 12:56

Hi

During installation I change one icon using ReplaceFolderIcon.
After unistall setup I thought that I see unchanged icon, but unistallation process delete my icon.

Do I have to manually restore icon?

Regards
Greg102

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 10 February 2006 - 14:44

I've never used that function before, but it sounds like you'll need to call DeleteFolderIcon then during the uninstall to manually restore it.
user posted image

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 February 2006 - 13:04

Uninstall will not put back the previous version of a file that has been overwritten by the install. This is also true for shortcuts (which bascially are .lnk files). YOu yould have to back up the old shortcut during install and use code to copy it back during uninstall.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 14 February 2006 - 16:47

True, so that makes sense Stefan that shortcuts would follow the same rules as regular old files.
user posted image