The Shortcuts Dialog seems to be buggy. The lower two checkboxes cannot be hidden (when set not visible, one of them remains visible) and, is only effective for Desktop shortcuts, the Start Menu shortcuts are created regardless. I have therefore decided to implement my own switches to control the installation of shortcuts.
I have created checkboxes on the VerifyReadyDlg, which set properties.
In Organization I then need a feature for the shortcuts, which I have created with a condition to test the property set by the checkbox.
A component is also needed within the feature, but needs a main Key resource which cannot be a shortcut, so i create a dummy registry value. I now have a component to host the conditional shortcut.
The problem is, when I create a shortcut, it automatically resides in the same Component as the file it targets, and cannot be moved. The shortcut is created with the default settings, is not a Key resource, and is not advertised.
Right-clicking the shortcut only gives me the menu items "Go to resource" "Add to list" and "Add children to list".
How can I move this shortcut away from the component where the target is installed, and into a new component?