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

Removing Shortcut during update


2 replies to this topic

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 16 April 2007 - 08:39

Hi everyone,

Help me get out of this problem.

I am building an updater that updates 2-3 older versions. I know that I can delete a shortcut created by previous installer thru RemoveFile table.

Is it possible to delete a shortcut that is not created by previous installer but was created manually?

In case it is not directly possible to do this (at least I am unable to find a way), how can I do this?

thank you,
ankur tyagi

  ankur tyagi

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 April 2007 - 16:18

RemoveFile can delete any file, including a manually created .lnk file.

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 17 April 2007 - 07:55

You are right, and even I was doing almost in right manner, except that i had written "My Shortcut" instead on "My Shortcut.lnk" in FileName column.

  ankur tyagi