Create shortcut to desktop using WiX
问题 So I have this setup project in Wix and wanted to have a shortcut on the desktop. This must be easy you might think. But that is not the case. All the code snippets found on the Internet did not work. After a few hours of struggling and reading the documentation I finally got it right, so I am sharing it with you here. 回答1: The shortcut is a non-advertised one, hope this helps someone. Remember to put the component in your feature tag. <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id