Desktop icon duplicated four times
When installing my application, the desktop icon is duplicated 4 times, i.e. I see 4 icons of my application on the desktop, all of them pointing to the same EXE.
If I refresh the desktop with F5 then only one remains.
This is the script command I use to create the desktop icon:
CreateShortCut "$DESKTOP\MyApp.lnk" "$INSTDIR\myapp.exe"
That never happened with previous versions of my software, however on the last install script I added the "SetShellVarContext all" in order to have the installation shared with all users. Is that related?
What can I do?