I use Custom setup type in one installation (Standard, IS Developer 7.03) targeted for WinNT/2000 machines.
User may modify installation at any time, and certain modifications lead to recreation of a program shortcut on a desktop via AddFolderIcon(FOLDER_DESKTOP, sName, svPrg, "",
INSTALLDIR^sExeName, 0, "", REPLACE).
End user always must be Administrator, but any Administrator.
Now, AddFolderIcon doesn't replace the very first shortcut. It creates a second one, almost identical. All consequent modifications do replace that second one. The only difference between shortcuts is in the set of permissions.
I don't care much about permissions as far as Administrators are included - but how can I avoid this duplication of shortcuts?