Announcement

Collapse
No announcement yet.

Not Deleting desktop shortcut from prior install

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Not Deleting desktop shortcut from prior install

    Using SF 9.0.4.0 and it is not deleting the old desktop shortcut.

    Here are lines on the Pre Install actions:

    Shell.DeleteShortcut(Shell.GetFolder(SHF_DESKTOP), "Billing Clerk Version 7");
    Shell.DeleteShortcut(Shell.GetFolder(SHF_STARTMENU PROGRAMS_COMMON).."\\Billing Clerk", "Billing Clerk Version 7");

    There are 2 spaces after 'Billing Clerk' and before 'Version 7' and that is how it is in the prior setup. I have even copied and pasted just to be sure. It does get rid of the one int he Start Menu but not the desktop. Any ideas.

  • #2
    Perhaps you should use
    Code:
    Shell.DeleteShortcut(Shell.GetFolder(SHF_DESKTOP_COMMON), "Billing Clerk Version 7");
    instead. If you create one shortcut in the shared Start Menu, you most like are creating the other on the shared desktop.

    Ulrich

    Comment


    • #3
      That solved it. Thanks.

      Comment

      Working...
      X