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

Shortcuts not overwritten


2 replies to this topic

printkey

printkey
  • Members
  • 1 posts

Posted 06 January 2003 - 16:11

How do a make shure that a shortcut will be overwritten ?
I use Express v4

Suppose we have a shortcut test that points to Myapp1.exe
now i install Myapp2.exe with the same shortcut the app
is installed but the shortcut is not overwritten
wy ?

rmadassery77

rmadassery77
  • Members
  • 52 posts

Posted 07 January 2003 - 09:43

If you know where the shortcut location is, and the folder structure is present in the Directory table you can use the RemoveFile Table.Give the .lnk name of the shortcut.
If the folder structure is not present in the Directory table, then you will have to use an external custom action to remove the shortcuts. ;)

rmadassery77

rmadassery77
  • Members
  • 52 posts

Posted 07 January 2003 - 10:05

Just to add to earlier msg, in the RemoveFile table set InstallMode to 1 so that the old shortcuts are removed on install of the msi.